Abandon workflow attached to document programmatically from a operation
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 votes
1 answers
1806 views
You can call the method: void cancel(DocumentRoute routeInstance, CoreSession session) on the DocumentRoutingEngineService service.