Class BulkRestartWorkflow
java.lang.Object
org.nuxeo.ecm.platform.routing.api.operation.BulkRestartWorkflow
Bulk operation to cancel and restart all the workflow instances of the workflow model with the id
workflowId
. If the nodeId
parameter is specified, then only the workflows suspended on
that node are restarted.- Since:
- 5.7
-
Field Summary
Modifier and TypeFieldDescriptionprotected Integer
protected OperationContext
static final int
static final String
protected String
protected boolean
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
reinitLifecycle
(List<String> docIds, CoreSession session) void
run()
static Throwable
-
Field Details
-
ID
- See Also:
-
workflowId
-
nodeId
-
reinitLifecycle
protected boolean reinitLifecycle -
batchSize
-
ctx
-
DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE- See Also:
-
-
Constructor Details
-
BulkRestartWorkflow
public BulkRestartWorkflow()
-
-
Method Details
-
run
public void run() -
unwrapException
-
reinitLifecycle
-