Hello dear friends,
I need to change the process ID inside the tag “bpmn:Participant” but I can’t find the way to do it. When updating the process ID inside the tag “bpmn:Process” works perfectly.
WORKS (when “bpmn:Process”):
modeling.updateProperties(element, {
id: ‘NewID’
});
I TRIED AND DOES NOT WORK (when: “bpmn:Participant”):
modeling.updateProperties(element, {
businessObject: {
processRef: {
id: ‘NewID’
}
}
I obtain the elment using the following events [‘selection.changed’, ‘elements.changed’].
element = context.elements[0];