I have set a input parameter in BPMN and I use this in the TaskListener to perform few tasks.
Now once the task is done I want to delete these variable (I don’t want them in future steps). I was looking at deleting these variables. I read through Process Instance Modification | docs.camunda.org but couldn’t find a way for deletion.
However, the same is available as Rest API.
Is this possible in runtime? Or is there is some other way?
@ANKIT_SHARMA, you can suspend(pause temporarily, can be resumed later)/delete(removes from runtime) process instance from runtime. You can handle cancelling the process by modelling terminate end event or interrupting timer start event in event subprocess which will further terminate the running instances, etc.