In SimpleOne, workflows provide an interface for automating multi-step processes across the solution. Each workflow consists of activities, such as generating records, notifying users of pending approvals, or running scripts. The graphical Workflow Editor represents workflows visually as a type of flowchart. It shows activities as boxes labeled with information about that activity and transitions from one activity to the next as lines connecting the boxes.
Workflow - a logical combination of activities to perform a task. Activity - an instruction presented in the workflow. Exit - the condition evaluated to determine which transition needs to be activated. Transitions - the paths between the activities, depending on conditions defined in each activity. |
Generally, workflow consists of:
A workflow starts when a triggering event occurs, Common triggers are, for example, a record insertion into a specific table, or setting a particular field in a table to a specified value. For example, you might create a workflow, that runs whenever a user submits a major or an infrastructure Incident. You can also schedule workflows to run periodically or call them from scripts such as business rules.
After activity completion, the workflow transitions to the next activity, or the exit. An activity might have more than one different possible transitions to various activities, depending on the activity outcome.
The graphical Workflow Editor displays workflows as a flowchart. It shows activities as boxes labeled with information about that activity and transitions from one activity to another as lines connecting the boxes.
At each step in a workflow:
Generally, the workflow can be in one of two states - Checked Out or Published.
The Checked Out state is intended for editing new or existing workflows.
When you start working on your workflow (whether a new or existing one), it is in the Checked Out state. In this state, other users cannot edit this workflow along with you, since the workflow is already checked out. Also, the workflow is inactive when checked out; it needs to be published to enable.
To check out your workflow, navigate to the hamburger menu () in the Control Panel, and click Publish.
The Published state is intended for the finalized workflows ready to be run; finalized but unpublished workflows are inactive and non-functional.
To publish your workflow, navigate to the hamburger menu () in the Control Panel and click Publish.