fixing a bug in the bpmn editor that was attempting to create the wrong element.

This commit is contained in:
Dan 2023-02-13 12:27:45 -05:00
parent a39ae63bde
commit 8cbec2d2d2
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export function MessageCorrelationPropertiesArray(props) {
'bpmn:CorrelationPropertyRetrievalExpression'
);
const messageRefElement = getMessageRefElement(element);
const newFormalExpression = moddle.create('bpmn:messagePath');
const newFormalExpression = moddle.create('bpmn:FormalExpression');
newFormalExpression.body = '';
newRetrievalExpressionElement.messageRef = messageRefElement;