From 3e374f93cb906e361c80f407dd15850e269473ae Mon Sep 17 00:00:00 2001 From: burnettk Date: Thu, 23 Feb 2023 10:50:00 -0500 Subject: [PATCH] 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 --- .../propertiesPanel/MessageCorrelationPropertiesArray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/spiffworkflow/messages/propertiesPanel/MessageCorrelationPropertiesArray.js b/app/spiffworkflow/messages/propertiesPanel/MessageCorrelationPropertiesArray.js index 68a79379e..bd62c693d 100644 --- a/app/spiffworkflow/messages/propertiesPanel/MessageCorrelationPropertiesArray.js +++ b/app/spiffworkflow/messages/propertiesPanel/MessageCorrelationPropertiesArray.js @@ -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;