Class GetOpenTasksOperation
java.lang.Object
org.nuxeo.ecm.platform.routing.core.api.operation.GetOpenTasksOperation
Returns all open tasks on the input document(s). If the operation is invoked with parameters, all tasks instances for
the given 'processId' originating from the given 'nodeId' are returned. The 'processId' is the id of the document
representing the workflow instance. The parameter 'username' is used to fetch only tasks assigned to the given user.
Tasks are queried using an unrestricted session.
- Since:
- 5.7.2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected String
If not provided and the operation is run within a workflow (chain called by a transition or an escalation rule for instance), this parameter is bound to the "nodeId" operation context variable, seeGraphNodeImpl.getWorkflowContextualInfo(CoreSession, boolean)
.protected String
If not provided and the operation is run within a workflow (chain called by a transition or an escalation rule for instance), this parameter is bound to the "workflowInstanceId" operation context variable, seeGraphNodeImpl.getWorkflowContextualInfo(CoreSession, boolean)
.protected CoreSession
protected TaskService
protected UserManager
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAllTasks
(DocumentModel doc) getAllTasks
(DocumentModelList docs)
-
Field Details
-
ID
- See Also:
-
session
-
nodeId
If not provided and the operation is run within a workflow (chain called by a transition or an escalation rule for instance), this parameter is bound to the "nodeId" operation context variable, seeGraphNodeImpl.getWorkflowContextualInfo(CoreSession, boolean)
. -
processId
If not provided and the operation is run within a workflow (chain called by a transition or an escalation rule for instance), this parameter is bound to the "workflowInstanceId" operation context variable, seeGraphNodeImpl.getWorkflowContextualInfo(CoreSession, boolean)
. -
username
-
taskService
-
userManager
-
-
Constructor Details
-
GetOpenTasksOperation
public GetOpenTasksOperation()
-
-
Method Details
-
getAllTasks
-
getAllTasks
-