cancel
Showing results for 
Search instead for 
Did you mean: 

Abandon workflow attached to document programmatically from a operation

geekonspace
Star Contributor
Star Contributor

I have a automation chain where starts a workflow over a document but when it document is edited I want to reset attached workflow. I guess I need cancel first workflow before initiate second workflow over same document. I want to know how could to do it.

1 ACCEPTED ANSWER

Mariana_Cedica
Star Contributor
Star Contributor

You can call the method: void cancel(DocumentRoute routeInstance, CoreSession session) on the DocumentRoutingEngineService service.

View answer in original post

3 REPLIES 3

Mariana_Cedica
Star Contributor
Star Contributor

You can call the method: void cancel(DocumentRoute routeInstance, CoreSession session) on the DocumentRoutingEngineService service.

ok, thanks!!

Hi.