Skip to main content

TaskSubscriptions

No description

type TaskSubscriptions {
watchTasks(
startDate: LocalDate
endDate: LocalDate
includeCompleted: Boolean
assignedTo: [Long!]
priorities: [String!]
relatedProcess: Long
relatedTeam: Long
relatedTeams: [Long!]
completedFrom: LocalDate
completedTo: LocalDate
searchQuery: String
manualOnly: Boolean
dueFromAt: ZonedDateTime
dueToAt: ZonedDateTime
completedFromAt: ZonedDateTime
completedToAt: ZonedDateTime
): [TaskEventGql!]
}

Fields

TaskSubscriptions.watchTasks ● [TaskEventGql!] list object

Subscribe to real-time task create/update/delete events for the organization, pre-filtered by the same filters as the Task View list

TaskSubscriptions.watchTasks.startDate ● LocalDate scalar
TaskSubscriptions.watchTasks.endDate ● LocalDate scalar
TaskSubscriptions.watchTasks.includeCompleted ● Boolean scalar
TaskSubscriptions.watchTasks.assignedTo ● [Long!] list scalar
TaskSubscriptions.watchTasks.priorities ● [String!] list scalar
TaskSubscriptions.watchTasks.completedFrom ● LocalDate scalar
TaskSubscriptions.watchTasks.completedTo ● LocalDate scalar
TaskSubscriptions.watchTasks.searchQuery ● String scalar
TaskSubscriptions.watchTasks.manualOnly ● Boolean scalar

Only manual tasks (no related workflow/process)

TaskSubscriptions.watchTasks.dueFromAt ● ZonedDateTime scalar

Optional lower bound on the task's due time. Tasks with no due time (date-only) are never excluded by it.

TaskSubscriptions.watchTasks.dueToAt ● ZonedDateTime scalar

Optional upper bound on the task's due time. Tasks with no due time (date-only) are never excluded by it.

TaskSubscriptions.watchTasks.completedFromAt ● ZonedDateTime scalar

Optional lower bound on the task's completion time. Tasks with no completion time are never excluded by it.

TaskSubscriptions.watchTasks.completedToAt ● ZonedDateTime scalar

Optional upper bound on the task's completion time. Tasks with no completion time are never excluded by it.

Returned By

tasks subscription