add MI for call activities
This commit is contained in:
parent
61f2e5db32
commit
63dc415fc3
|
@ -8,7 +8,7 @@ const LOW_PRIORITY = 500;
|
|||
export default function MultiInstancePropertiesProvider(propertiesPanel) {
|
||||
this.getGroups = function getGroupsCallback(element) {
|
||||
return function pushGroup(groups) {
|
||||
if (is(element, 'bpmn:Task')) {
|
||||
if (is(element, 'bpmn:Task') || is(element, 'bpmn:CallActivity')) {
|
||||
let group = groups.filter(g => g.id == 'multiInstance');
|
||||
if (group.length == 1)
|
||||
updateMultiInstanceGroup(element, group[0]);
|
||||
|
|
|
@ -16,7 +16,7 @@ export default function StandardLoopPropertiesProvider(propertiesPanel) {
|
|||
this.getGroups = function getGroupsCallback(element) {
|
||||
return function pushGroup(groups) {
|
||||
if (
|
||||
is(element, 'bpmn:Task') &&
|
||||
(is(element, 'bpmn:Task') || is(element, 'bpmn:CallActivity')) &&
|
||||
typeof(element.businessObject.loopCharacteristics) !== 'undefined' &&
|
||||
element.businessObject.loopCharacteristics.$type === 'bpmn:StandardLoopCharacteristics'
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue