How to cancel a case

Hi,

I have a case where one of the tasks failed. It seems when the task failed, my workflow stopped running. However, the case is showing as active. Therefore, I will like to cancel the case to remove its active state. As an administrator, in the portal, I see the option to delete a case. Is there an option to cancel?

Hi,

The portal does not have that option (well on 7.1.2 It doesn’t, that’s the version that I use), you have to build your own process that makes your process instances cancelled and not deleted. Use the method cancelProcessInstance from the Engine API. ( learn more here )

I hope it helps,

Bye.