fixing a bug in the bpmn editor that was attempting to create the wrong element.
This commit is contained in:
parent
a39ae63bde
commit
8cbec2d2d2
|
@ -82,7 +82,7 @@ export function MessageCorrelationPropertiesArray(props) {
|
||||||
'bpmn:CorrelationPropertyRetrievalExpression'
|
'bpmn:CorrelationPropertyRetrievalExpression'
|
||||||
);
|
);
|
||||||
const messageRefElement = getMessageRefElement(element);
|
const messageRefElement = getMessageRefElement(element);
|
||||||
const newFormalExpression = moddle.create('bpmn:messagePath');
|
const newFormalExpression = moddle.create('bpmn:FormalExpression');
|
||||||
newFormalExpression.body = '';
|
newFormalExpression.body = '';
|
||||||
|
|
||||||
newRetrievalExpressionElement.messageRef = messageRefElement;
|
newRetrievalExpressionElement.messageRef = messageRefElement;
|
||||||
|
|
Loading…
Reference in New Issue