From 69135655f8a5282bcdaef82705c3d522ef5b4464 Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 10 Apr 2023 11:29:04 -0400 Subject: [PATCH] Adding the ability to specify instructions to the end user when competing service tasks and wait events --- .../ExtensionsPropertiesProvider.js | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/app/spiffworkflow/extensions/propertiesPanel/ExtensionsPropertiesProvider.js b/app/spiffworkflow/extensions/propertiesPanel/ExtensionsPropertiesProvider.js index 1955dd9..c4327da 100644 --- a/app/spiffworkflow/extensions/propertiesPanel/ExtensionsPropertiesProvider.js +++ b/app/spiffworkflow/extensions/propertiesPanel/ExtensionsPropertiesProvider.js @@ -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,