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 9252af8138
commit f1f008e3e3

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;