public interface DocumentRoutingEngineService
DocumentRoutingService to start a route.| Modifier and Type | Method and Description |
|---|---|
void |
cancel(DocumentRoute routeInstance,
CoreSession session)
Cancels a route using an unrestricted session.
|
void |
resume(DocumentRoute routeInstance,
String nodeId,
String taskId,
Map<String,Object> data,
String status,
CoreSession session)
Resumes a route, optionnally for a given task only.
|
void |
start(DocumentRoute routeInstance,
Map<String,Serializable> map,
CoreSession session)
Starts a route.
|
void start(DocumentRoute routeInstance, Map<String,Serializable> map, CoreSession session)
routeInstance - the route instancemap - the values to pass as initial workflow variablessession - the sessionvoid resume(DocumentRoute routeInstance, String nodeId, String taskId, Map<String,Object> data, String status, CoreSession session)
routeInstance - the route instancenodeId - the node id to resume on (optional)taskId - the task id that resumes (optional)data - the data coming from UI formstatus - the name of the button clicked to submit the associated task formsession - the sessionvoid cancel(DocumentRoute routeInstance, CoreSession session)
routeInstance - the route instancesession - the sessionCopyright © 2019 Nuxeo. All rights reserved.