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)
|
||||
);
|
||||
}
|
||||
if (isAny(element, ['bpmn:ManualTask', 'bpmn:UserTask', 'bpmn:EndEvent'])) {
|
||||
if (
|
||||
isAny(element, [
|
||||
'bpmn:ManualTask',
|
||||
'bpmn:UserTask',
|
||||
'bpmn:ServiceTask',
|
||||
'bpmn:EndEvent',
|
||||
'bpmn:IntermediateCatchEvent',
|
||||
])
|
||||
) {
|
||||
groups.push(
|
||||
createUserInstructionsGroup (
|
||||
element,
|
||||
translate,
|
||||
moddle,
|
||||
commandStack
|
||||
)
|
||||
createUserInstructionsGroup(element, translate, moddle, commandStack)
|
||||
);
|
||||
}
|
||||
if (is(element, 'bpmn:ServiceTask')) {
|
||||
|
@ -237,7 +240,7 @@ function createUserInstructionsGroup (
|
|||
component: SpiffExtensionTextArea,
|
||||
name: 'spiffworkflow:instructionsForEndUser',
|
||||
label: 'Instructions',
|
||||
description: 'The instructions to display when completing this task.',
|
||||
description: 'Displayed above user forms and while this task is executing.',
|
||||
},
|
||||
{
|
||||
element,
|
||||
|
|
Loading…
Reference in New Issue