Adding the ability to specify instructions to the end user when competing service tasks and wait events

This commit is contained in:
Dan 2023-04-10 11:29:04 -04:00
parent 24a71ec5e2
commit 69135655f8
1 changed files with 11 additions and 8 deletions

View File

@ -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,