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

1758 views

ANSWER



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

1 votes



ok, thanks!!
06/20/2013

Hi.

How can I do that using Automation Chain?

03/05/2014