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. |
yyyy-MM-dd'T'HH:mm:ss.SSSZ
.Type | Cause |
---|---|
Business Rule Evaluation | When executing action rules fails for any reason. |
Condition Evaluation | When executing action conditions. |
Engine | When the connection with the database fails when the connection with Redis fails |
Definition | Misconfigurations: process def name, subprocess parent process id value, start node condition missing. |
Node | When an outgoing node can’t be found (missing sequence etc). |
Gateway Evaluation | When the token can’t pass a gateway for any reason, possible causes:
|
Subprocess | Exceptions will be saved for them just like for any other process, parent process ID will also be saved (we can use this to link them when displaying exceptions). |