Sequential process instance

Hello,
I am having a process with a service task in it, which runs RPA on windows server, hence I want only one instance of the process to run at a point of time.
And any other requests should be queued and should start the instance once the running one is completed.
My start event is not timer based.

Hi @simran,

you should use an external service task to implement the RPA call in your BPMN model: https://docs.camunda.org/manual/7.10/user-guide/process-engine/external-tasks/.

Then you can use the external task client in Java or JavaScript to call the RPA code: https://docs.camunda.org/manual/7.10/user-guide/ext-client/.

To call the RPA one-by-one, configure maxTasks with 1 in your setup: https://docs.camunda.org/manual/7.10/user-guide/ext-client/#external-task-throughput.

Hope this helps, Ingo

1 Like