Asynchronous task

Hello team,

I am looking to perform an operation like API call after every manual task/after a certain milestone is achieved for a request.

Looking to implement this use case with message event. Publish message event after every manual task /at a particular step and another process which would listen to event , followed by service task for API call.

Please let me know if there is better way to do this.

Sample below,

Thank you.

Hi @Vidya_Shettar,

no, it isn’t. It is the perfect way to describe in a visual way that you sent out information, but with less importance than the tasks.

If you add understandable names to the events that follow the naming best practise: Naming BPMN elements | Camunda 8 Docs you will get a very good process model.

Hope this helps, Ingo

Thank you.
Is order of the events maintained in Camunda?

Hi @Vidya_Shettar,

yes it is. You can access them as the activities of a process instance from the history: Get Historic Activity Instances | docs.camunda.org

Add the process instance id and sortBy startTime to your request.

Hope this helps, Ingo

1 Like