We have a service which calls an external process and User should have the provision to stop the selected task. Could you please provide any pointers so that when the user selects this task and click stop, on the back end , a signal(SIGINT or some other) should be sent to the extrernal process started from this task .
For the Point 1 : This is our custom process. From Camunda groovy script , we call java which executes a shell script(from where it triggers a process in Unix).
For the Point 2 : Yes , For the user it looks like a cockpit, If there are multiple branches and if the user selects a job in one of the branch, only that job should be stopped.
For the Point 3: On clicking stop, the external process which is triggered through shell script from groovy should get stopped
If the process you’re calling in Unix is asynchronous then you’re going to have a hard time stopping it via API with Camunda. Once the call is made camunda will no longer have any control over what is happening in the exteral system - it would be able to cancel the state in Camunda but not affect the other process