Hi,
I am having an issue in recognizing if the given processInstanceId
in the input is suspended one or an active one.
But I get all the required details if I use deleteProcessInstance
method.
So, my question is, which method is better suspendProcessInstance
or deleteProcessInstance
if I want to cancel an instance and not resume it in future?
Suspending is for temporarily halting an instance. Deleting it removes the runtime data, so if you won’t use it in the future, calling delete is for sure better (e.g. for general performance).