How to cancel a case

1
0
-1

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?

1 answer

1
+1
-1
This one is the BEST answer!

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.

Notifications