Work Flow
Work Flow
Many OBS modules have a process: a record moves through statuses such as Draft, Pending approval and Approved. This page shows how to move a record, how approvals work, and how an administrator sets up the steps.
StatusesApprovalsProcess automationWhat is a work flow
A work flow (process) is the list of statuses a record goes through. Each status is a step. For example, an overtime request goes: Draft → Pending approval → Approved or Rejected, and it can be Canceled.
The status bar
Open a record of a module with a process. The bar under the buttons shows all steps of the process:
| What you see | Meaning |
|---|---|
| A larger, highlighted circle | The current status of the record. |
| A circle with a tick | A step the record has already passed. |
| A circle with an arrow | A step you can choose now: click it to move the record there. |
| A crossed-out circle | A step you cannot choose by hand. OBS sets it itself, for example after an approval. |
Change the status
- 1Open the record and save your changes first.
- 2Click the step you want in the status bar.
- 3A window Change status asks you to confirm: Move the record to …. Click Confirm, or Cancel to stay.
- 4OBS runs the checks and actions of the step (for example, sends an e-mail) and shows a message. The bar shows the new status.
Steps that lock the record
Some steps are set to Disable modifications. While the record is in such a step, nobody can save changes to it, not even an administrator: OBS answers Access denied. You can still move the record to another allowed step.
Steps that must follow in order
A step marked as Sequential step can be reached only from the step right before it. If you try to jump to it from another step, OBS refuses with a message about the configured sequence.
Approvals
When a step asks for an approval (for example, the step Pending approval of a time off or overtime request):
- 1You move your request to the step that asks for approval.
- 2OBS sends an e-mail to the approver: usually your manager, as set in the organizational structure. The e-mail has a link to the request.
- 3The approver approves or rejects (see below).
- 4OBS moves the record to Approved or Rejected and sends you an e-mail with the decision.
Approve or reject
As an approver, you find the requests that wait for you in two places:
- click your initials at the top right: the menu shows Approval Requests: N;
- on the home screen, the section Approval requests with the number of open requests.
- 1Click Approve or reject on the row.
- 2The page shows the module and the number of the document on top, and below it the Original request with all its fields.
- 3Write a comment in Resolution if needed (for example, why you reject).
- 4Click Approve or Reject.
For administrators
The rest of this page is for the person who sets up the processes. A process has three parts: the steps, the function of each step, and extra rows in Process automation (checks, more actions, access).
The steps of a process
Every module with a process has its own list of steps, for example Overtime request statuses. Open it by name in Quick access (Find a module). Each row is one step; open a row to change it.
Fields of a step
| Field | What it does |
|---|---|
| Name | The key of the step, for example pending_approval. The bar shows its translation (Pending approval). |
| Step | The place of the step in the bar (1, 2, 3 …). |
| Description | Shown when you point at the step and in the Change status window. |
| Color | The colour of the circle in the bar, for example #FFCCCC. |
| Manual status change | On: users can click the step. Off: only OBS moves the record there (after an approval, a scheduled task, a function). |
| Sequential step | The step can be reached only from the step right before it. |
| Previous steps | The steps from which a record may come to this step: a list of numbers with commas, for example 1,2,4. |
| Disable modifications | While the record is in this step, nobody can save changes to it. |
| Function, Parameters | What OBS does when the record reaches the step (see below and Process Functions). |
| Precondition table, action, field | An advanced option, rarely used. Leave empty unless OBS support tells you otherwise. |
A function on a step
Each step can have one Function with its Parameters. Parameters are separated with |. Common examples:
| Function | Parameters (example) | What happens |
|---|---|---|
| SendEmail | overtime_requests_cancelled|first_level_management_chain|staff_id | Sends the e-mail template to the manager and to the employee of the record. |
| RequestApprovalWithSystemEmail | first_level_management | Asks the first-level manager for approval (see Approvals). |
| RawSQLWithUser | return_success | Runs an SQL function; if it raises an error, the status does not change. |
| CheckIfFieldIsNotEmpty | contact_id|email | Refuses the step while these fields are empty. |
All functions with their parameters: Process Functions.
E-mail on a step
Use the function SendEmail. The parameters are the name of the e-mail template, then the recipients:
template_name|recipient_1|recipient_2|…
| Recipient | Who gets the e-mail |
|---|---|
| a column of the record | The person in that field, for example staff_id (an employee) or a contact field. |
| a column with an e-mail address | The address written in that field. |
| an e-mail address | That address, for example [email protected]. |
first_level_management_chain | The manager one level above the employee. |
management_chain | The managers two levels above the employee. |
staff_json | The employees listed in the JSON field staff_json of the record. |
__PRIV__GroupName | Everybody in that privilege group, for example __PRIV__HR. |
SendEmail|template|… is wrong: the function name is chosen in the Function field, not in the parameters.Process automation
One step can need more than one action, for example a check and then an e-mail. Add them in the module Process automation (open it in Quick access). One row = one function for one step of one module.
| Field | What to enter |
|---|---|
| Module | The module of the process, for example overtime_requests. |
| Step | The number (ID) of the step row in the list of steps. |
| Step name | The name of the step, for example pending_approval. If filled in, it wins over Step, and the row keeps working in another OBS system where the IDs differ. |
| Function, Parameters | As on the step itself (Process Functions). |
| Authorized | Optional: the name of a JSON field of the record with the employees who may move the record to this step. |
When a user moves a record, OBS runs the Process automation rows of the target step first, then the function of the step itself, and only then saves the new status. If any of them returns an error, the status does not change and the user sees the message.
Who can move a record
On the tab Privileges of a Process automation row, list the privilege groups that may move records to this step. Add all privileges on the left adds every group in one click; then remove the ones that should not. Privilege groups are explained in Security.
Other ways a status changes
- An approval decision moves the record to Approved or Rejected.
- A scheduled task with the function IssueProcessStep moves records in bulk at a set time, for example expired requests (Scheduled Task).
- Another system can change the status through the API (API).
- The rule Process step execution on API call runs a step when a record is created through the API.
FAQ
I cannot click a step.
Save says "Access denied" on a record I could edit before.
The status changed but nobody got an e-mail.
Where do I see who changed the status and when?
Related: Process Functions · Digital Signature · Security · Working with a Record.





