Skip to content

Commit

Permalink
wip: test $parent
Browse files Browse the repository at this point in the history
  • Loading branch information
smbea committed Sep 27, 2023
1 parent c6a74f5 commit 89cdbae
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ export default class ChangeElementTemplateHandler {

if (!ioMapping) {
ioMapping = bpmnFactory.create('zeebe:IoMapping');
ioMapping.$parent = businessObject;

commandStack.execute('element.updateModdleProperties', {
element,
Expand Down Expand Up @@ -381,6 +382,8 @@ export default class ChangeElementTemplateHandler {
newInputOrOutput = createOutputParameter(newBinding, newPropertyValue, bpmnFactory);
}

newInputOrOutput.$parent = ioMapping;

commandStack.execute('element.updateModdleProperties', {
element,
moddleElement: ioMapping,
Expand Down

0 comments on commit 89cdbae

Please sign in to comment.