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:
burnettk 2023-02-23 10:50:00 -05:00
parent f91ce2e6be
commit 3e374f93cb
1 changed files with 1 additions and 1 deletions

View File

@ -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;