Package com.priint.pubserverapi.workflow
Interface WorkflowTaskQuery
- All Superinterfaces:
QueryBuilder<Task>
Read open tasks in the authenticated project session. No limits, offsets or cursors.
Default: tasks assigned to the current person, naming them as a candidate, or visible through their teams.
Assignees are person_id values from priint_comet_admin.serveruser, passed directly to the task source.
Candidate group is a concrete team ID. No special sentinel values are interpreted.
Explicit assignee and group filters intersect. Other people/teams require NEO_TASKS_VIEW_ALL.
Runtime tasks, including suspended tasks, are open; completed historical tasks are not returned.
list() returns all matches. singleResult() returns the first match or null.-
Method Summary
Modifier and TypeMethodDescriptionPersonId values are person_id values from priint_comet_admin.serveruser; no login resolution is performed.candidateGroup(String candidateGroup) Exclusive upper bound expressed as an ISO 8601 instant.myTasks()Adds the current user to the selected assignees at execution time.Adds the current user's teams to the selected teams at execution time.Matches any selected team.unassignedOnly(Boolean unassignedOnly) Methods inherited from interface com.priint.pubserverapi.query.QueryBuilder
list, singleResult
-
Method Details
-
myTasks
WorkflowTaskQuery myTasks()Adds the current user to the selected assignees at execution time. -
myTeamsTasks
WorkflowTaskQuery myTeamsTasks()Adds the current user's teams to the selected teams at execution time. -
assignee
PersonId values are person_id values from priint_comet_admin.serveruser; no login resolution is performed. -
teams
Matches any selected team. When assignees are also selected, both filters must match. -
candidateGroup
-
object
-
dueBefore
Exclusive upper bound expressed as an ISO 8601 instant. Tasks without a due date do not match. -
unassignedOnly
-