Hi All,
Im wondering if anyone can help / clarify the expected behaviour in the following scenario.
Setup:
Camunda 7.2
Tomcat
Use Case:
As a user,
I want to deploy a process with a message start, that I can start at any time ( including after restarting Camunda ) with a simple message send,
So that I do not have to deploy a new version of my process everytime I want to execute it.
Observed behaviour:
I can deploy my process definition with a message start, trigger the process without any problems any number of times by sending a message. If I stop and start the Camunda engine, the message send is received and the process is started, however it never completes. I believe its 'stuck' just after the message start activity. If I redeploy the same process, I can once again send messages to the process and it behaves as expected.
Any hints of tips on how to debug this ( Cockpit shows the process as running, with process variables, but no incidents, no exceptions in the logs ), or confirmation is this is the expected behaviour would be appreciated.
This is reproducible using a simple Message Start -> Sequence Flow -> End e.g.
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:camunda="http://activiti.org/bpmn" id="process-definition" targetNamespace="http://camunda.org/examples">
<process id="federos-7F0000013345A9FB0EA07467776D4740" isExecutable="true" name="SimpleMessageStart">
<laneSet id="laneSet_ba49cb4c-bb3e-4f71-aac1-0e37d7f18a51">
<lane id="lane_ab444428-deef-48f5-b154-b1a618f9e63e" name="admin">
<flowNodeRef>GUID-7F00000121A768C30098D4407EAC41FD</flowNodeRef>
<flowNodeRef>GUID-7F00000121A768C3EB022B17D3824786</flowNodeRef>
</lane>
</laneSet>
<endEvent id="GUID-7F00000121A768C30098D4407EAC41FD" name="Silent end">
<extensionElements>
<camunda:executionListener event="end" expression="${execution.setVariable("FDProcessInstance_processFinalState","Completed")}"/>
</extensionElements>
<incoming>GUID-7F00000121A768C330019E5B03ED427E</incoming>
</endEvent>
<startEvent camunda:asyncBefore="true" id="GUID-7F00000121A768C3EB022B17D3824786" name="Manual start">
<outgoing>GUID-7F00000121A768C330019E5B03ED427E</outgoing>
<messageEventDefinition id="GUID-7F0000013345A9FBC1D8F5118F9D4ADD" messageRef="GUID-7F0000013345A9FB74085196DE5449E2"/>
</startEvent>
<sequenceFlow id="GUID-7F00000121A768C330019E5B03ED427E" sourceRef="GUID-7F00000121A768C3EB022B17D3824786" targetRef="GUID-7F00000121A768C30098D4407EAC41FD"/>
</process>
<collaboration id="collaboration_e76b595a-664f-47ee-bbf0-11c031a3ca4a">
<participant id="participant_d8bcc5a2-9c56-4af0-bf54-2c56e9b99394" name="admin" processRef="federos-7F0000013345A9FB0EA07467776D4740"/>
</collaboration>
<message id="GUID-7F0000013345A9FB74085196DE5449E2" name="GUID-7F00000121A768C3EB022B17D3824786"/>
</definitions>
Kind Regards
Gareth