ProcessRun#
Retrieve and manage process runs
ProcessGroupRun#
A run-time grouping of JobRuns and other GroupRuns.
Properties#
Name |
Type |
Description |
Restrictions |
|---|---|---|---|
active |
boolean¦null |
If present, indicates whether new and existing JobRuns in this GroupRun will be run. |
|
children |
The children of this GroupRun. Children can be a JobRun or another GroupRun. |
||
childrenEligibleToStartCount |
integer(int32)¦null |
If present, indicates the number of children under this group that are eligible to start. |
|
created |
When the action was performed, and details about the user who did it. |
||
eligibleToStart |
boolean¦null |
If present, indicates whether Start can be called on this GroupRun. |
|
id |
string |
The GroupRun’s unique identifier |
|
modified |
When the action was performed, and details about the user who did it. |
||
name |
string |
The name of the GroupRun. |
|
ordinal |
integer(int32) |
The zero-based index representing the location of this child within its parent group |
read-only |
parallel |
boolean |
If true, JobRuns within this GroupRun are run in parallel. If false, serial. |
required |
parent |
string¦null |
The id of this child’s parent. Not present if the parent is the root GroupRun of the ProcessRun. |
|
readOnly |
boolean |
Whether this GroupRun is read-only. |
required |
revision |
integer(int64) |
The revision number of the current representation of the GroupRun. |
|
status |
string |
The general execution status of the JobRun. The same set of statuses apply to all |
|
statusCounts |
object |
Convenience map of JobRun statuses to the number of JobRuns with that status. |
|
statusCounts.additionalProperties |
integer(int64) |
Convenience map of JobRun statuses to the number of JobRuns with that status. |
|
triggerType |
string¦null |
What triggers a group child to execute. |
Enumerated Values#
Property |
Value |
|---|---|
status |
|
status |
|
status |
|
status |
|
status |
|
status |
|
status |
|
triggerType |
|
triggerType |
|
Example#
{
"id": "root-group-123",
"name": "Main Workflow Run",
"parallel": false,
"readOnly": false,
"status": "running"
}
ProcessGroupRunChild#
Represents a child element within a GroupRun in a running process (runtime). A “group run” child can be either a JobRun or another nested GroupRun, reflecting the hierarchical structure of work execution. The type field determines which specific child type is present.
Properties#
Name |
Type |
Description |
Restrictions |
|---|---|---|---|
groupRun |
A run-time grouping of JobRuns and other GroupRuns. |
||
jobRun |
An instantiation of a Job created when a Process is started or when a new action is added to a running Process. |
||
type |
string |
The type of GroupRun child. |
Enumerated Values#
Property |
Value |
|---|---|
type |
|
type |
|
Example#
{
"jobRun": {
"id": "jobinstance-123",
"status": "waiting"
},
"type": "job"
}
ProcessRun#
A Process that has been started. An instantiation of a Process.
Properties#
Name |
Type |
Description |
Restrictions |
|---|---|---|---|
autoClose |
boolean |
If this process is configured to automatically close once all actions are completed or canceled. |
read-only, required |
businessDateExclusions |
[string] |
Individual dates that are excluded as business days of this ProcessRun. |
read-only, unique |
businessDateInclusions |
[string] |
Individual dates that are included as business days of this ProcessRun, regardless of exclusion rules. |
read-only, unique |
businessDaysOfWeek |
[string] |
The days of the week that are deemed “working days” for this ProcessRun. |
read-only, unique |
businessEndDate |
string(date) |
The end date for the ProcessRun. |
read-only |
businessStartDate |
string(date) |
Date for when the ProcessRun should start for anchoring relative dates |
read-only |
calendars |
[string] |
A set of calendar ids associated with this ProcessRun. The events of these calendars are displayed in |
read-only, unique |
certAutoApprove |
boolean |
If certification auto approval is turned on for certification actions on this process. |
read-only, required |
completedDate |
string(date-time) |
When the ProcessRun was completed. |
read-only |
created |
When the action was performed, and details about the user who did it. |
||
defaultCertApproverReminders |
Configuration for reminder emails that will be sent to participants about incomplete tasks. |
||
defaultCertSignerReminders |
Configuration for reminder emails that will be sent to participants about incomplete tasks. |
||
dueDate |
string(date) |
When the Process is due. |
read-only |
id |
string |
The Process’ unique identifier. |
read-only |
jobRunMap |
object |
Convenience map of JobRun id to JobRun. |
read-only |
jobRunMap.additionalProperties |
An instantiation of a Job created when a Process is started or when a new action is added to a running Process. |
||
managerUser |
string |
The userId of the user this ProcessRun runs as. |
read-only |
modified |
When the action was performed, and details about the user who did it. |
||
name |
string |
The name of the ProcessRun. |
read-only |
process |
string |
The Process id that was started that created this ProcessRun. |
read-only |
relativeDates |
boolean |
If relative dates are enabled for this process. Enables automatic shifting of dates based on the |
read-only, required |
revision |
integer(int64) |
The revision number of the current representation of the Process |
read-only |
root |
A run-time grouping of JobRuns and other GroupRuns. |
||
status |
string |
The general execution status of the JobRun. The same set of statuses apply to all |
read-only |
statusCounts |
object |
Convenience map of JobRun action statuses to the number of JobRuns with that status. |
read-only |
statusCounts.additionalProperties |
integer(int64) |
Convenience map of JobRun action statuses to the number of JobRuns with that status. |
Enumerated Values#
Property |
Value |
|---|---|
status |
|
status |
|
status |
|
status |
|
status |
|
status |
|
status |
|
Example#
{
"autoClose": true,
"businessDateExclusions": [
"2024-12-25",
"2024-01-01"
],
"businessDateInclusions": [
"2024-12-28"
],
"businessDaysOfWeek": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday"
],
"businessEndDate": "2024-12-31",
"businessStartDate": "2024-01-01",
"calendars": [
"calendar-123",
"calendar-456"
],
"certAutoApprove": true,
"completedDate": "2024-12-30T18:30:00Z",
"created": {
"dateTime": "2019-10-30T15:03:27Z",
"user": {
"id": "V1ZVd2VyFzU3NiQ1NDA4NjIzNzk2MjD"
}
},
"defaultCertApproverReminders": {
"mode": "default"
},
"defaultCertSignerReminders": {
"mode": "default"
},
"dueDate": "2024-12-31",
"id": "processinstance-xyz789",
"jobRunMap": {
"job-instance-1": {
"id": "job-instance-1",
"status": "complete"
},
"job-instance-2": {
"id": "job-instance-2",
"status": "running"
}
},
"managerUser": "manager123",
"modified": {
"dateTime": "2019-10-30T15:03:27Z",
"user": {
"id": "V1ZVd2VyFzU3NiQ1NDA4NjIzNzk2MjD"
}
},
"name": "Q4 2024 Financial Close",
"process": "process-abc123",
"relativeDates": false,
"revision": 5,
"root": {
"id": "root-group-123",
"name": "Main Workflow Run",
"parallel": false,
"readOnly": false,
"status": "running"
},
"status": "running",
"statusCounts": {
"Completed": 5,
"Running": 3,
"Waiting": 2
}
}
ProcessRunOptions#
Options that can change details about the execution of the Process, including whether or not to send an email notification to the ProcessRun creator upon the completion or cancellation of the Process.
Properties#
Name |
Type |
Description |
Restrictions |
|---|---|---|---|
sendProcessCompleteEmail |
boolean |
If true (the default value), then when the Process is completed or cancelled an email notification is sent to the |
Example#
{
"sendProcessCompleteEmail": false
}