Skip to content
ModuleM2 — Route the ticket
After this session you canConnect a workflow’s steps with actions, and control which fields each person can see and change at each step.
TimeFacilitated: 45 min · On your own: 45 min
Before you startM2-S1: the five steps exist with their owners.
Go deeperBuild the workflow · Return for changes, or reject · Control the fields at each step

◆ Orientation (1 min) — Buttons and rules

Section titled “◆ Orientation (1 min) — Buttons and rules”

Your steps have owners, but every step still sends the ticket to the next one in the list, and every person can change every field. This session finishes the route: the buttons each owner sees, where each button sends the ticket, and the field rules that keep each person to their own part of the ticket. These are the last two of the tutorial’s four workflow passes.

▤ Concept (4 min) — Actions, targets and field rules

Section titled “▤ Concept (4 min) — Actions, targets and field rules”

Each step is created with one main action, the happy-path button. You rename it and point it somewhere, and you add more actions with Create Action. In Action Settings:

  • Name is the button label the owner sees, such as Send to Processing.
  • Default Target is where the ticket goes: a relative step (First Step, Previous Step, Current Step, Next Step, Last Step) or a named step under Existing Steps. Use a named step whenever the route is not a straight line, as here.
  • Main Action marks the one happy-path action of the step. A step has at most one.

Further options you will meet when you need them: Show Confirm Action Dialog (ask the owner to confirm, with an Action comment status of Optional, Required or Hidden for the comment box), and Conditional Visibility (show an action only when a condition on the record is true).

When you create a step, two checkboxes add ready-made “no” buttons:

CheckboxAdds an action that sends the record toUse it for
ReturnThe first step, so the creator can correct and resubmit“Not yet: fix this and send it again”
RejectThe final step, ending the workflow“No: this stops here”

The ticket workflow uses neither checkbox. Its Manager Approval step has an Approve and a Reject, but both go back to Help Desk: the manager’s “no” is an answer for the desk to act on, not the end of the customer’s ticket. You build that Reject with Create Action and a named target. Choosing the checkbox instead would close the customer’s ticket behind the desk’s back.

At each step you choose a View Option for every field, under the step’s Requirements:

View OptionAt this step, the field is…
Hiddennot shown
Lockedshown, but cannot be changed
Editablechangeable (the default)
Mandatoryrequired before the owner can move the ticket on

A block has its own View Option, which applies to all its fields at once; Show Fields lets you set them one by one if you need to. This is why you built Solution and Service evaluation as blocks: one setting hides the customer’s rating from the representative.

Whose rules apply? The owner of a step sees that step’s rules, and so does someone looking at a step they acted on last. Everyone else sees the rules of the ticket’s current step.

⛏ Lab (34 min) — Connect the steps and set the field rules

Section titled “⛏ Lab (34 min) — Connect the steps and set the field rules”

With a facilitator. The facilitator plays the video, or builds it live in the same order, before the lab starts.

On your own. Watch the video once before you start. The lab below gives every step in writing, so you can also go straight to it without the video.

Actions and field rules: the opening frame of the video. Follow the link to watch it.

Tutorial · Part 3 of 8 · 3 min 17 s

Actions and field rules

Connect the steps, and decide what each step may change · Recorded on Osos 1.11.0-alpha.1

What to notice: Every route returns to Help Desk, and only the desk closes a ticket. Watch how Help Desk’s main action becomes Send to Processing and the other choices are added with the plus, then how its Requirements table lets the desk edit only the status, the assignee and the end date.

Goal. Give every step its actions and targets, and set the field rules of all five steps.

Before you start. The Support Tickets designer open on the Workflows tab.

Connect the steps with actions

For each row, select the step, select its action (or Create Action for a new one), and in Action Settings set the Name and the Default Target under Existing Steps. Leave Main Action on only for the first action of each step.

StepActionDefault Target
Open TicketSend Request (main)Help Desk
Help DeskSend to Processing (main)Processing Ticket
Manager ApprovalManager Approval
Send SolutionService Evaluation
Close TicketComplete Step
Manager ApprovalApprove (main)Help Desk
RejectHelp Desk
Processing TicketReview Solution (main)Help Desk
Service EvaluationDone (main)Help Desk
  1. Open Ticket: point Send Request at Help Desk.
  2. Help Desk: rename the main action Send to Processing and point it at Processing Ticket.
  3. Help Desk: with Create Action, add Manager Approval → Manager Approval.
  4. Help Desk: add Send Solution → Service Evaluation.
  5. Help Desk: add Close Ticket → Complete Step.
  6. Manager Approval: rename the main action Approve and point it at Help Desk.
  7. Manager Approval: add Reject → Help Desk.
  8. Processing Ticket: rename the main action Review Solution and point it at Help Desk.
  9. Service Evaluation: rename the main action Done and point it at Help Desk.
  10. Select Save, then Save Changes.

Screenshot pending The finished workflow in the designer: Help Desk with four actions, and every other step pointing back to Help Desk What to notice: four arrows leave Help Desk, and every other step’s arrow returns to it. Only Close Ticket reaches Complete Step.

Set the field rules

Select a step to open its Step Settings, open Requirements, and set each field’s View Option from the table. Blocks are listed under Blocks.

FieldOpen TicketHelp DeskManager ApprovalProcessing TicketService Evaluation
Ticket title, Ticket descriptionMandatoryLockedLockedLockedLocked
Ticket statusLockedEditableLockedEditableLocked
Assigned toLockedEditableLockedLockedLocked
Start dateMandatoryLockedLockedLockedLocked
End dateLockedEditableLockedLockedLocked
Solution (block)HiddenLockedLockedEditableLocked
Service evaluation (block)HiddenLockedHiddenHiddenEditable
  1. Open Ticket: set the seven rows of its column.
  2. Help Desk: set its column.
  3. Manager Approval: set its column.
  4. Processing Ticket: set its column.
  5. Service Evaluation: set its column.
  6. Select Save, then Save Changes.

Screenshot pending Step Settings for Open Ticket, Requirements open: the title, description and start date Mandatory, the two blocks Hidden What to notice: the two blocks have one View Option each. Hiding them at Open Ticket keeps the customer’s form short.

Check.

  • Help Desk has four actions; every other step has one or two, all targeting Help Desk except Send Request.
  • Only one action per step has Main Action on.
  • Open Ticket hides both blocks and makes title, description and start date Mandatory.
  • Service evaluation is Hidden at Manager Approval and Processing Ticket, and Editable only at Service Evaluation.
  • The designer saves without This workflow is invalid.

Pass condition. The workflow saves as valid, with the nine actions and the field rules of the two tables. You prove the route itself in Module 5, as each person.

If something goes wrong

What you seeWhat to do
This workflow is invalid · Main action is missingA step has no action marked Main Action. Open each step and check.
You cannot turn Main Action on for a second actionA step has only one main action. That is correct: leave it off for the others.
A target step is not in the listLook under Existing Steps, not Relative Steps.
A block’s fields do not show under RequirementsBlocks are listed under Blocks; select Show Fields under one to see its fields.
A step cannot be deletedAnother action targets it directly. Point that action elsewhere first.
Model answer

Why the route and the rules look like this:

  • Every route returns to Help Desk, and only Close Ticket ends the workflow: the desk reviews every solution and every manager decision before the customer hears anything.
  • The manager’s Reject is a named action to Help Desk, not the Reject checkbox, which would end the workflow.
  • The customer’s words are Mandatory at Open Ticket and Locked after it, so nobody rewrites the problem.
  • Only the desk may set Assigned to, End date and the status at its step; the representative may change the status and write the Solution; only the customer may rate.
  • The rating is hidden from the representative and the manager, so it cannot be changed or influence the answer; the desk can read it (Locked).

✓ Practice (5 min) — Check your understanding

Section titled “✓ Practice (5 min) — Check your understanding”
PracticeChoose one answer.

A builder ticks Reject when creating Manager Approval. The manager rejects a solution. What happens to the customer’s ticket?

  1. Explanation for A

    ✗ Incorrect

    Not this one: the checkbox’s action goes to the final step, not to a step you choose. See Return, Reject, or a named step.

  2. Explanation for B

    ✓ Correct

    Correct: the Reject checkbox targets the final step. That is why the tutorial builds its own Reject pointing at Help Desk. See Return, Reject, or a named step.

  3. Explanation for C

    ✗ Incorrect

    Not this one: that is what the Return checkbox does, sending the record to the first step. See Return, Reject, or a named step.

Check your answer

The correct answer is B. Open the explanation under each option to see why.

PracticeChoose one answer.

Representatives say they can see the customer’s rating while solving older tickets that came back. Which rule should be checked?

  1. Explanation for A

    ✓ Correct

    Correct: the representative owns Processing Ticket, so that step’s rules decide what they see. See Field rules for each step.

  2. Explanation for B

    ✗ Incorrect

    Not this one: that step belongs to the customer; its rules apply to the customer, who must be able to rate. See Field rules for each step.

  3. Explanation for C

    ✗ Incorrect

    Not this one: Required decides whether a value must exist, not who may see it. See Field rules for each step.

Check your answer

The correct answer is A. Open the explanation under each option to see why.

PracticeDecide whether the statement is true or false.

Setting Ticket title to Mandatory at Open Ticket and Locked at every other step means the customer must describe the problem and nobody can rewrite it later.

  1. Explanation for A

    ✓ Correct

    Correct: Mandatory forces a value before the ticket moves on, and Locked shows the field to later owners without letting them change it. See Field rules.

  2. Explanation for B

    ✗ Incorrect

    It is true: these two View Options together give exactly that behaviour along the route. See Field rules for each step.

Check your answer

The correct answer is A (True). Open the explanation under each option to see why.

PracticeChoose one answer.

An expense workflow needs a Send back for correction button that the employee can fix and resubmit. Which is the simplest correct setup?

  1. Explanation for A

    ✗ Incorrect

    Not this one: Reject ends the workflow, so the employee could not resubmit. See Return, Reject, or a named step.

  2. Explanation for B

    ✗ Incorrect

    Not this one: Current Step leaves the record with the reviewer; the employee never gets it. See Actions and where they go.

  3. Explanation for C

    ✓ Correct

    Correct: Return sends the record to the first step, owned by the employee who created it, who corrects it and submits again. See Return, Reject, or a named step.

Check your answer

The correct answer is C. Open the explanation under each option to see why.

The route is complete: every step has its buttons, every button sends the ticket to the right place, and at each step each person sees and changes only their own part. That ends Module 2: you can now design and build an approval route with owners, actions and field rules.

Next. People still have to find out that a ticket is waiting for them. In Module 3 you add the seven notifications that tell each person when it is their turn.