Skip to main content
Version: 2026.1

LoadHistoricTasksConfig

Methods​

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


finished​

finished(pFinished): LoadHistoricTasksConfig

Fetch only historic tasks that are finished or unfinished

Parameters​

pFinished
boolean

true for finished tasks, false for unfinished ones

Returns​

LoadHistoricTasksConfig

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): LoadHistoricTasksConfig

Fetch only historic tasks that have one of the given ids

Parameters​

pTaskIds
string[]

the ids of the tasks

Returns​

LoadHistoricTasksConfig

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