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
FieldsModifier and TypeFieldDescriptionprotected Integerprotected OperationContextstatic final intstatic final Stringprotected Stringprotected booleanprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreinitLifecycle(List<String> docIds, CoreSession session) voidrun()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
-