Skip to content

Commit

Permalink
feat: add ad-hoc subprocess to create options
Browse files Browse the repository at this point in the history
  • Loading branch information
jarekdanielak authored and philippfromme committed Jan 24, 2025
1 parent fe58631 commit a51ac27
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lib/util/CreateOptionsUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,26 @@ export const SUBPROCESS = [
type: 'bpmn:SubProcess',
isExpanded: true
}
},
{
label: 'Ad-hoc sub-process (collapsed)',
search: 'adhoc subprocess',
actionName: 'collapsed-ad-hoc-subprocess',
className: 'bpmn-icon-subprocess-collapsed',
target: {
type: 'bpmn:AdHocSubProcess',
isExpanded: false
}
},
{
label: 'Ad-hoc sub-process (expanded)',
search: 'adhoc subprocess',
actionName: 'expanded-ad-hoc-subprocess',
className: 'bpmn-icon-subprocess-expanded',
target: {
type: 'bpmn:AdHocSubProcess',
isExpanded: true
}
}
].map(option => ({ ...option, group: SUBPROCESS_GROUP }));

Expand Down

0 comments on commit a51ac27

Please sign in to comment.