Adding the ability to specify instructions to the end user when competing service tasks and wait events
This commit is contained in:
parent
24a71ec5e2
commit
69135655f8
|
@ -37,14 +37,17 @@ export default function ExtensionsPropertiesProvider(
|
||||||
createBusinessRuleGroup(element, translate, moddle, commandStack)
|
createBusinessRuleGroup(element, translate, moddle, commandStack)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (isAny(element, ['bpmn:ManualTask', 'bpmn:UserTask', 'bpmn:EndEvent'])) {
|
if (
|
||||||
|
isAny(element, [
|
||||||
|
'bpmn:ManualTask',
|
||||||
|
'bpmn:UserTask',
|
||||||
|
'bpmn:ServiceTask',
|
||||||
|
'bpmn:EndEvent',
|
||||||
|
'bpmn:IntermediateCatchEvent',
|
||||||
|
])
|
||||||
|
) {
|
||||||
groups.push(
|
groups.push(
|
||||||
createUserInstructionsGroup (
|
createUserInstructionsGroup(element, translate, moddle, commandStack)
|
||||||
element,
|
|
||||||
translate,
|
|
||||||
moddle,
|
|
||||||
commandStack
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (is(element, 'bpmn:ServiceTask')) {
|
if (is(element, 'bpmn:ServiceTask')) {
|
||||||
|
@ -237,7 +240,7 @@ function createUserInstructionsGroup (
|
||||||
component: SpiffExtensionTextArea,
|
component: SpiffExtensionTextArea,
|
||||||
name: 'spiffworkflow:instructionsForEndUser',
|
name: 'spiffworkflow:instructionsForEndUser',
|
||||||
label: 'Instructions',
|
label: 'Instructions',
|
||||||
description: 'The instructions to display when completing this task.',
|
description: 'Displayed above user forms and while this task is executing.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
element,
|
element,
|
||||||
|
|
Loading…
Reference in New Issue