Merge commit 'fae42d32ba298aa66de9642cc8fcbdd969f3d475'

This commit is contained in:
burnettk 2023-04-21 11:22:56 -04:00
commit 431fde71bc
No known key found for this signature in database
4 changed files with 14 additions and 14 deletions

View File

@ -15,7 +15,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.6
uses: dependabot/fetch-metadata@v1.4.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs

View File

@ -18,7 +18,7 @@ jobs:
node-version: 18
- run: npm install
- run: npm test
- uses: JS-DevTools/npm-publish@v1
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
access: public

View File

@ -37,14 +37,18 @@ 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:ScriptTask',
'bpmn:IntermediateCatchEvent',
])
) {
groups.push(
createUserInstructionsGroup (
element,
translate,
moddle,
commandStack
)
createUserInstructionsGroup(element, translate, moddle, commandStack)
);
}
if (is(element, 'bpmn:ServiceTask')) {
@ -237,7 +241,7 @@ function createUserInstructionsGroup (
component: SpiffExtensionTextArea,
name: 'spiffworkflow:instructionsForEndUser',
label: 'Instructions',
description: 'The instructions to display when completing this task.',
description: 'Displayed above user forms or when this task is executing.',
},
{
element,

View File

@ -45,10 +45,6 @@ function requestServiceTaskOperators(eventBus, element, commandStack) {
serviceTaskOperators = event.serviceTaskOperators.sort((a, b) =>
a.id.localeCompare(b.id)
);
commandStack.execute('element.updateProperties', {
element,
properties: {},
});
}
});
}