A process instance is a specific execution of a business process that is defined on the FlowX.AI platform. Once a process definition is added to the platform, it can be executed, monitored, and optimized by creating an instance of the definition.
Status | Indicates the state of the process instance. Offers distinct values: |
---|---|
CREATED | Visible if there’s an error during process creation. Displays as STARTED if there were no errors during creation. |
STARTED | Indicates the current running status of the process. |
DISMISSED | Available for processes with subprocesses, seen when a user halts a subprocess. |
EXPIRED | This status appears when the defined “expiryTime” expression in the process definition elapses since the process was initiated (STARTED ). |
FINISHED | Signifies successful completion of the process execution. |
TERMINATED | Implies a termination request has been sent to the instance. |
ON HOLD | Marks a state where the process is no longer editable. |
FAILED | Occurs if a CronJob triggers at a specific hour, and the instance isn’t finished by then. |
Error Message | Description |
---|---|
”Process definition not found.” | The process definition with the requested name was not set as published. |
”Start node for process definition not found.” | The start node was not properly configured. |
”Multiple start nodes found, but start condition not specified.” | Multiple start nodes were defined, but the start condition to choose the start node was not set. |
”Some mandatory params are missing.” | Some parameters set as mandatory were not included in the start request. |
HTTP code 403 - Forbidden | The current user does not have the process access role for starting that process. |
HTTP code 401 - Unauthorized | The current user is not logged in. |