Skip to content

Commit

Permalink
fix replacement of hardware selection subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
LaviniaStiliadou committed Aug 12, 2023
1 parent 1d9ba56 commit 770403b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export async function replaceHardwareSelectionSubprocess(subprocess, parent, mod

// retrieve business object of the new element
let bo = elementRegistry.get(element.id).businessObject;
bo.di.isExpanded = true;

// extract workflow fragment within the QuantumHardwareSelectionSubprocess
let hardwareSelectionFragment = await getHardwareSelectionFragment(bo);
Expand Down Expand Up @@ -187,7 +186,7 @@ export async function replaceHardwareSelectionSubprocess(subprocess, parent, mod
modeling.connect(joiningGateway, invokeTransformedFragment, {type: 'bpmn:SequenceFlow'});

// pass all variables between the caller and callee workflow
addExtensionElements(invokeTransformedFragmentBo, invokeTransformedFragmentBo, bpmnFactory.create('camunda:In'), bpmnFactory, commandStack);
addExtensionElements(invokeTransformedFragment, invokeTransformedFragmentBo, bpmnFactory.create('camunda:In'), bpmnFactory, commandStack);
let extensionElements = getExtensionElements(invokeTransformedFragmentBo, moddle);
let invokeTransformedFragmentIn = extensionElements.values[0];
let invokeTransformedFragmentOut = bpmnFactory.create('camunda:Out');
Expand Down

0 comments on commit 770403b

Please sign in to comment.