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” without errors. |
STARTED | Indicates the current running status of the process. |
DISMISSED | Available for processes with subprocesses, seen when a user halts a subprocess. |
EXPIRED | Shows up when a defined “expiryTime” in the process definition passes. |
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) |