Squashed 'bpmn-js-spiffworkflow/' changes from 9252af81..f1f008e3
f1f008e3 fixing a bug in the bpmn editor that was attempting to create the wrong element. git-subtree-dir: bpmn-js-spiffworkflow git-subtree-split: f1f008e3e39be43b016718fca6a38b248ab4ecf7
This commit is contained in:
parent
f91ce2e6be
commit
3e374f93cb
|
@ -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