diff --git a/lib/util/CreateOptionsUtil.js b/lib/util/CreateOptionsUtil.js index 1ae1877..f4263c1 100644 --- a/lib/util/CreateOptionsUtil.js +++ b/lib/util/CreateOptionsUtil.js @@ -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 }));