Skip to content

M3-S3 — Advanced routing: targets and owners by formula, and a panel that decides

Section titled “M3-S3 — Advanced routing: targets and owners by formula, and a panel that decides”
ModuleM3 — Advanced automation
After this session you canMake a workflow choose its own route, its own owners and its own group decisions from the record.
TimeFacilitated: 52 min · On your own: 52 min
Before you startM3-S2: Overall L1 score is calculated; Nour Hamdan waits at Interview L1 with 8.5. Ziad Karam waits at Request processing. Signed in as yourself; a private window for the test people.
Go deeperChoose who acts at a step · Route the record with actions · Reuse a process: sub-workflows

◆ Orientation (1 min) — A route that thinks

Section titled “◆ Orientation (1 min) — A route that thinks”

In ACD you built a route with fixed targets and owners chosen from a list, a field or a manager, with fallbacks. ACA taught you to specify group decisions and sub-workflows. Here you build what neither did: a target chosen by a formula (R-06), a panel of three where two votes decide (R-05), and an owner worked out from the record. The tutorial’s application route is the one you change; the videos of that route sit beside this session.

▤ Concept (5 min) — Five routing tools

Section titled “▤ Concept (5 min) — Five routing tools”

In an action’s Action Settings, Default Target is where the record goes unless something better applies. Expression based target adds the something: select Add Conditional Step, write a condition, and pick its Target Step. Conditions are checked in order and the first one that is true wins; when none is, the default target is used. Order the conditions from the most specific to the most general.

A Group owner with Select User Type All Users gives the step to every member. Multi Assignment Type sets whether they act Sequentially or in Parallel. Then Main Action Execution Condition decides when the record moves on with the main action:

  • All users: only if everyone chose the main action;
  • Some Users: once enough members chose it: Proceed Threshold Type (Fixed Number or Percentage) and Proceed Threshold (for example 2). Action On Failure decides what happens when the threshold cannot be reached: Most Chosen Secondary Action, a return or a rejection.

When no list, field or relation names the owner directly, an Expression can: it must return a user, a group or a list. Because a formula can return nothing, the designer requires Fallback Assignment 1. Fallbacks are tried in order; end the chain with one specific person, because if no owner and no fallback resolves, the record cannot move to that step at all.

flowchart LR
  E["Owner expression:<br/>the interviewer,<br/>else the contact person"] -->|"empty"| F1["Fallback 1:<br/>a fixed HR officer"]
  E -->|"a user"| OK["Owner found"]
  F1 --> OK

What to notice: the expression already falls back inside itself; the designer’s fallback catches the case where both fields are empty.

A Sub-Workflow Step runs another workflow of the same entity and continues at its Merge Step when that workflow ends. It has no actions of its own; its first step is owned by whoever owned the sub-workflow step; a time limit on it covers the whole time spent inside. Use it when several routes share one stage, so the stage is built and changed once.

An External Step sends its owner to another system (an e-signature service, a payment page) and moves on only when that system sends the person back to the return link {{@returnUrl}}. The owner must be one specific person.

Records already in progress follow the workflow as it was. Some changes are breaking, and the designer says so; those records must then be upgraded. Make routing changes in a test environment first and move them with a package (M8).

flowchart LR
  L1["Interview L1<br/>owner: by expression"] -->|"Approve,<br/>score ≥ 8"| JO["Job offer"]
  L1 -->|"Approve<br/>(default)"| L2["Interview L2<br/>panel of three, 2 decide"]
  L2 -->|Approve| JO
  L2 -.->|"threshold not reached"| S["Most chosen<br/>secondary action"]

What to notice: Approve has one label but two destinations, and the record’s own score picks between them; the panel decision only applies to candidates who did not score 8.

⛏ Lab (38 min) — The fast track, the panel and the interviewer as owner

Section titled “⛏ Lab (38 min) — The fast track, the panel and the interviewer as owner”

Goal. At Interview L1, Approve sends a candidate with an overall score of 8 or more straight to Job offer and everyone else to Interview L2; Interview L2 belongs to the Interview Panel and moves on when two of its three members approve; Interview L1 belongs to the application’s interviewer.

Before you start. Signed in as yourself.

The fast track

  1. Edit Job Application, open the Workflows tab and select the Interview L1 step. Open its Approve action’s Action Settings.
  2. Set Default Target to Existing Steps › Interview L2.
  3. Under Expression based target, select Add Conditional Step. Enter the condition Number(value.interview_l1.overall_l1_score) >= 8 and choose Target Step Job offer.

The panel

  1. Select the Interview L2 step. In Step Owner, choose Group, Group Type Fixed, Group Name Interview Panel.
  2. Select User Type All Users; Multi Assignment Type Parallel.
  3. Main Action Execution Condition Some Users; Proceed Threshold Type Fixed Number; Proceed Threshold 2; Action On Failure Most Chosen Secondary Action.
  4. In Fallback Assignment 1, choose User, Fixed, Samir Khoury.

The owner by formula

  1. Select the Interview L1 step. In Step Owner, choose User and, as the source, Expression:

    value.interview_l1.interviewer || value.contact_person
  2. In Fallback Assignment 1, choose User, Fixed, Hala Mansour.

  3. Save the workflow. If the designer warns that the change is breaking, read which records it names, accept, and note it for M8.

Screenshot pending The Action Settings of Approve at Interview L1: Default Target Interview L2 and one conditional step that sends a score of 8 or more to Job offer What to notice: the action keeps one label for the interviewer; the condition, not the person, decides where it goes.

Screenshot pending The Step Owner of Interview L2: the Interview Panel group, All Users in parallel, Some Users with a fixed threshold of 2, and the most chosen secondary action on failure What to notice: the threshold is a number of approvals, not of people who acted; a reject from the third member after two approvals changes nothing.

Prove it

  1. As Hala Mansour, open Nour Hamdan (score 8.5) and select Approve. The application goes to Job offer.
  2. As Hala Mansour, open Ziad Karam at Request processing, take ownership, fill the Interview L1 arrangements with Interviewer Dina Halabi, and select Schedule interview.
  3. As Dina Halabi, open Ziad Karam from the Inbox: the step is hers. Enter Technical score 6 and Communication score 7 (overall 6.5), and select Approve. It goes to Interview L2.
  4. As Dina Halabi, then Fadi Rahal, open it at Interview L2 and select Approve. After the second approval it moves to Job offer; Reem Taha’s assignment is gone.

Check.

  • Approve at Interview L1 defaults to Interview L2, with one conditional step to Job offer for 8 or more.
  • Interview L2 is owned by Interview Panel, All Users, Some Users, threshold 2, with a fixed fallback.
  • Interview L1’s owner is the expression, with Hala Mansour as the fixed fallback.
  • Nour Hamdan went straight to Job offer.
  • Ziad Karam reached Dina Halabi at Interview L1, went to the panel, and moved on after two approvals.

Pass condition. The two test candidates took different routes for the reason of their scores, the interviewer received the first interview, and two of three panel approvals moved the second.

If something goes wrong

What you seeWhat to do
Nour Hamdan went to Interview L2Her score is under 8, or the condition’s field name is wrong: compare it with the Structure tab.
Ziad Karam went to Hala Mansour, not Dina HalabiThe expression returned nothing, so the fallback took it: check Interviewer was filled before Schedule interview, and the field names.
Only one panel member received the stepSelect User Type is Single User; set All Users.
It moved on after one approvalProceed Threshold is 1, or the condition is not Some Users.
The workflow will not saveEvery non-final step needs a main action, and every non-fixed owner a fallback.
Model answer

Three changes, each a different routing tool. Approve at Interview L1 is one action with two destinations: the conditional step fires for an overall score of 8 or more, otherwise the default target applies. Interview L2 is a parallel group decision with a fixed threshold of two approvals and a fixed fallback. Interview L1’s owner is the application’s interviewer, else its contact person, else Hala Mansour, so the step can always be given to someone. Nour (8.5) skips the panel; Ziad (6.5) goes through it.

◇ Worked scenario (2 min) — Reference checks and the signed offer

Section titled “◇ Worked scenario (2 min) — Reference checks and the signed offer”

HR adds two needs. Decide each before reading on.

1. “Before any offer, HR checks two references. Both routes to Job offer need it.” The fast track and the panel route both end at Job offer. Decide. Building the check twice would double every future change. A sub-workflow Reference check on Job Application, with its own initial and final steps, called by a Sub-Workflow Step placed before Job offer, with Job offer as the Merge Step. Both routes now target the sub-workflow step; the check is built once. A time limit on the sub-workflow step covers the whole check.

2. “Candidates sign the offer in the e-signature service we already pay for.” Decide. An External Step in place of Respond to job offer, whose URL carries {{@returnUrl}}. The contact person cannot click past it; the record moves on only when the signature service sends the candidate back. Because the owner must be one person, the step goes to the contact person, and the e-signature service’s developers need the external step contract (Go deeper).

What to keep. Reuse a stage with a sub-workflow; wait for another system with an external step; never copy steps to give two routes the same stage.

✓ Practice (5 min) — Check your routes

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

An approval action has two conditional steps: “amount above 10,000 → Director” first, and “amount above 50,000 → Board” second. A request for 80,000 goes to the Director. Why?

  1. Explanation for A

    ✓ Correct

    Correct: conditions are checked in order, so the more specific one must come first. See a target chosen by the record.

  2. Explanation for B

    ✗ Incorrect

    Not this one: the default applies only when no condition is true. See a target chosen by the record.

  3. Explanation for C

    ✗ Incorrect

    Not this one: the comparison works as written; the order of the conditions is the cause. See a target chosen by the record.

Check your answer

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

PracticeChoose one answer.

A committee of five must approve a grant, and three approvals are enough. Which owner settings fit?

  1. Explanation for A

    ✗ Incorrect

    Not this one: one member would claim the step and decide alone. See a group that decides together.

  2. Explanation for B

    ✗ Incorrect

    Not this one: every member would have to approve, not three. See a group that decides together.

  3. Explanation for C

    ✓ Correct

    Correct: the step moves on as soon as three members chose the main action. See a group that decides together.

Check your answer

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

PracticeChoose one answer.

A step’s owner is an expression that reads the record’s Project lead. On records without a lead, the request stops before reaching the step. What was missing?

  1. Explanation for A

    ✗ Incorrect

    Not this one: watched fields belong to calculated values, not to owners. See an owner worked out by a formula.

  2. Explanation for B

    ✓ Correct

    Correct: when the expression returns nothing, only a fallback can own the step; without one the record cannot move there. See an owner worked out by a formula.

  3. Explanation for C

    ✗ Incorrect

    Not this one: that setting belongs to group decisions that miss their threshold. See a group that decides together.

Check your answer

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

PracticeChoose one answer.

Three different purchase routes must all pass the same three-step budget check, which Finance changes every year. What do you build?

  1. Explanation for A

    ✗ Incorrect

    Not this one: every yearly change would have to be made three times, identically. See a process reused as one step.

  2. Explanation for B

    ✓ Correct

    Correct: the stage is built once and each route calls it, merging back afterwards. See a process reused as one step.

  3. Explanation for C

    ✗ Incorrect

    Not this one: an external step waits for another system, and the budget check is inside the platform. See a step that waits for another system.

Check your answer

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

↺ Recap (1 min) — Routes the record chooses

Section titled “↺ Recap (1 min) — Routes the record chooses”

You can route by a condition, give a step to a panel with a threshold, work out an owner with a formula that always resolves, and choose a sub-workflow or an external step when the need calls for one.

Next. In M3-S4 time joins the route: jobs that close themselves on their deadline, and a reminder that repeats until a candidate answers.