Skip to main content
Version: 2025.1

LoadTasksConfig

Methods​

active​

active(pActive): LoadTasksConfig

Fetch only active or inactive tasks

Parameters​

pActive
boolean

true for active, false for inactive tasks

Returns​

LoadTasksConfig

current object


candidateIdentifier​

candidateIdentifier(pCandidateIdentifier): LoadTasksConfig

Fetch only tasks that are assigned to the given user or can be assigned to the user.

Parameters​

pCandidateIdentifier
string | number | boolean

the id of the candidate user

Returns​

LoadTasksConfig

current object


dueEndDate​

dueEndDate(pDueEndDate): CommonLoadTasksConfig

Fetch only tasks with a due date smaller than or equal to the given date

Parameters​

pDueEndDate
number

the latest allowed due date

Returns​

CommonLoadTasksConfig

current object


dueStartDate​

dueStartDate(pDueStartDate): CommonLoadTasksConfig

Fetch only tasks with a due date greater than or equal to the given date

Parameters​

pDueStartDate
number

the earliest allowed due date

Returns​

CommonLoadTasksConfig

current object


processInstanceId​

processInstanceId(pProcessInstanceId): CommonLoadTasksConfig

Fetch only tasks with the given process instance id

Parameters​

pProcessInstanceId
string | number | boolean

the id of the process instance

Returns​

CommonLoadTasksConfig

current object


taskIds​

taskIds(pTaskIds): LoadTasksConfig

Fetch only tasks that have one of the given ids

Parameters​

pTaskIds
string[]

the ids of the tasks

Returns​

LoadTasksConfig

current object


variables​

variables(pVariables): CommonLoadTasksConfig

Fetch only tasks with the given variable values

Parameters​

pVariables
any

the variable values that must be present

Returns​

CommonLoadTasksConfig

current object