From 8cbec2d2d2fac0038d312866c058ecf89c06a431 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/bpmn-js-spiffworkflow/app/spiffworkflow/messages/propertiesPanel/MessageCorrelationPropertiesArray.js b/bpmn-js-spiffworkflow/app/spiffworkflow/messages/propertiesPanel/MessageCorrelationPropertiesArray.js index 68a79379..bd62c693 100644 --- a/bpmn-js-spiffworkflow/app/spiffworkflow/messages/propertiesPanel/MessageCorrelationPropertiesArray.js +++ b/bpmn-js-spiffworkflow/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;