From f1f008e3e39be43b016718fca6a38b248ab4ecf7 Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 13 Feb 2023 12:27:45 -0500 Subject: [PATCH] fixing a bug in the bpmn editor that was attempting to create the wrong element. --- .../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 68a7937..bd62c69 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;