=INSTANCETASKCOUNT
The INSTANCETASKCOUNT function returns the number of times a specific task has been assigned within a given process instance. Useful for processes with loops or repeated task assignments, allowing tracking of task occurrences.
Syntax
Section titled “Syntax”=INSTANCETASKCOUNT(ProcessInstanceID; TemplateTaskID)Parameters
Section titled “Parameters”-
ProcessInstanceID – The unique identifier of the process instance to check.
-
TemplateTaskID – The unique identifier of the task template to count.
How It Works
Section titled “How It Works”-
Searches the specified process instance for all assignments of the given task.
-
Returns a numeric count of how many times the task has been assigned.
-
Helps in workflow monitoring, validation, and conditional logic based on task repetition.
Usage Notes
Section titled “Usage Notes”-
Both IDs must be valid and correspond to an existing process instance and task template.
-
Formula functions are case sensitive and must be written in ALL CAPS.
Example
Section titled “Example”=INSTANCETASKCOUNT(123456789012345678; 234567890123456789)Returns 3 (Assuming task 234567890123456789 has been assigned three times within process instance 123456789012345678.)
Keywords
Section titled “Keywords”INSTANCETASKCOUNT, task count, process instance, repeated tasks, workflow monitoring, task tracking, looped tasks, numeric function, formula function