Skip to content

M3-S1 — Seven notifications along the route

Section titled “M3-S1 — Seven notifications along the route”
ModuleM3 — Keep everyone informed
After this session you canTell the right person, automatically, each time a ticket reaches them or a decision is taken.
TimeFacilitated: 51 min · On your own: 51 min
Before you startM2-S2: the workflow is complete and valid. From ACP: M9-S1, your first reaction.
Go deeperAdd the notifications · Choose the event · Notify people

◆ Orientation (1 min) — Every hand-over tells the next person

Section titled “◆ Orientation (1 min) — Every hand-over tells the next person”

A workflow moves a ticket, but it does not tell anyone. Without notifications, the desk would have to keep refreshing its Inbox and customers would never know their ticket was received. In this session every hand-over sends a message to whoever must act or wants to know. You already built one reaction in ACP; here you build seven, and you choose a different event for each kind of moment.

▤ Concept (4 min) — Workflow events and recipients

Section titled “▤ Concept (4 min) — Workflow events and recipients”

A reaction is an event, an optional filter, and one action (ACP M9-S1). In ACP the event was On Entry Created and the recipient came from the Assigned To field. A ticket’s life, though, is a series of workflow moves, and those need workflow events.

EventRuns when…Use it to…
On Workflow Step Reachedthe ticket arrives at the step you choosetell the person who must act next
On Workflow Step Exitedthe ticket leaves the step, by the action you choosesend a message that depends on the decision taken
On Workflow Action Executedsomeone takes the action you choosereact to the decision itself (you use it in Module 9)

Reached answers “it’s your turn”. Exited with a chosen action answers “this decision was taken”. Look at Help Desk: the ticket can leave it by four actions. A message that should go out only when the desk sends the solution, not when it closes the ticket, must use On Workflow Step Exited with Help Desk (Send Solution).

A move is not an update. When a ticket moves from one step to another, On Entry Updated does not run. A reaction meant to follow the workflow must use a workflow event.

Under Recipients you choose a Source, a Type and a Value:

RecipientsMeansHere
Group · Fixed · Technical Support Officeevery member of a groupthe desk
User · Field · Assigned tothe person written in a User fieldthe representative
User · Field · Created bywhoever created the ticketthe customer

Created by is a detail every record keeps; you did not build it. It is how a ticket finds its customer without a customer field.

A reaction does exactly one thing. When the desk sends the solution, two people must be told, with two different messages: the representative (Solution has been reviewed) and the customer (Your request has been resolved). That is two reactions on the same event.

As in ACP, a placeholder in double braces becomes a row under Custom Variables. All seven titles read Ticket Number {{id}}, with id mapped (Type Field) to Ticket number.

⛏ Lab (39 min) — Build the seven notifications

Section titled “⛏ Lab (39 min) — Build the seven notifications”

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.

Seven notifications: the opening frame of the video. Follow the link to watch it.

Tutorial · Part 4 of 8 · 2 min 8 s

Seven notifications

Tell each person when a ticket reaches them · Recorded on Osos 1.11.0-alpha.1

What to notice: One notification per hand-over. The first, New Ticket, uses the event On Workflow Step Reached at Help Desk, sends an in-app notification, maps id to Ticket number under Custom Variables and goes to the Technical Support Office group. Review Solution is the one that uses On Workflow Step Exited, picking the step together with the action that left it.

Goal. Add the seven notification reactions to Support Tickets.

Before you start. Signed in as yourself.

The first reaction, step by step

  1. Open Support Tickets (Administration › Applications › Modules › Customer Support System) and select the Reactions tab. Stay on the New Reaction sub-tab.
  2. Select + (or Add Reaction while the list is empty). The New Reaction dialog opens.
  3. Enter the Name New Ticket. Under Event, choose On Workflow Step Reached, and in Choose Step pick Help Desk. Leave Filter empty and the other event settings as they are.
  4. Under Action, set Action Type to Send Notification and Channel Type to In App. Enter the Title Ticket Number {{id}} and the Content New ticket arrived.
  5. In the id row under Custom Variables, set Type to Field and Map to Ticket number.
  6. Under Recipients, set Source Group, Type Fixed, Value Technical Support Office. Select Save.

Screenshot pending The New Reaction dialog for New Ticket: event On Workflow Step Reached at Help Desk, Send Notification In App, recipients the Technical Support Office group What to notice: the step is chosen under the event, and the recipient is a group, so every desk agent is told.

The other six

Build each from the table, the same way. To save typing, open New Ticket’s menu and select Duplicate: the copy keeps the title and its variable; change the Name, the event and step, the Content and the Recipients. For On Workflow Step Exited, pick the step together with the action, shown as Step (Action).

#NameEvent · Choose StepContentRecipients
2Reply to customerOn Workflow Step Reached · Processing TicketYour request has been receivedUser · Field · Created by
3New ticket assigned to youOn Workflow Step Reached · Processing TicketTicket assigned to youUser · Field · Assigned to
4Review SolutionOn Workflow Step Exited · Processing Ticket (Review Solution)Please review the solutionGroup · Fixed · Technical Support Office
5The solution has been reviewedOn Workflow Step Exited · Help Desk (Send Solution)Solution has been reviewedUser · Field · Assigned to
6Ticket ResolvedOn Workflow Step Exited · Help Desk (Send Solution)Your request has been resolved, please review itUser · Field · Created by
7Service EvaluationOn Workflow Step Exited · Service Evaluation (Done)Service evaluation is done, click to see itGroup · Fixed · Technical Support Office
  1. Build reaction 2.
  2. Build reaction 3.
  3. Build reaction 4.
  4. Build reaction 5.
  5. Build reaction 6.
  6. Build reaction 7.

Screenshot pending The Reactions tab listing the seven reactions with their events and Send Notification actions What to notice: each row shows its event and action at a glance. Reactions 5 and 6 share an event but differ in recipient and message.

Check.

  • The Reactions tab lists seven reactions, all Send Notification, In App.
  • Reactions 1 to 3 use On Workflow Step Reached; reactions 4 to 7 use On Workflow Step Exited with an action.
  • Every title is Ticket Number {{id}}, with id mapped to Ticket number.
  • The recipients match the table: two to the group, two to Assigned to, two to Created by, plus New Ticket to the group.

Pass condition. Seven active reactions match the table. You see them arrive in Module 5, when you walk a ticket through the route as each person.

If something goes wrong

What you seeWhat to do
Choose Step offers no actions in bracketsYou chose On Workflow Step Reached. Exited events list Step (Action) pairs.
Created by is not offered under ValueIt sits with the record’s details, not with your fields; open the field tree’s details section.
{{id}} shows literally in the title laterThe id variable has no mapping. Open the reaction and set Type Field, Map to Ticket number.
You cannot save a reactionYou need Developer access on the entity, and every required action setting filled.
A duplicated reaction still has the old stepDuplicate copies everything; change the event and step before saving.
Model answer

Why these events: reactions 1 to 3 tell someone it is their turn, so they use Reached. Reactions 4 to 7 depend on which decision was taken: the representative sending a solution back, the desk sending it to the customer (not closing the ticket), the customer finishing the rating. They use Exited with that action, so they stay silent on the other routes out of the same step. Reactions 5 and 6 are two reactions on one event because a reaction has one action and the two messages go to different people.

◇ Worked scenario (1 min) — Reached, exited, or neither?

Section titled “◇ Worked scenario (1 min) — Reached, exited, or neither?”

The support manager asks for four more messages. Decide the event before reading on.

“Tell me when a ticket is waiting for my approval.” It is the manager’s turn: On Workflow Step Reached, Manager Approval, recipient Support Manager.

“Tell the desk when I reject a solution, but not when I approve.” It depends on the decision: On Workflow Step Exited, Manager Approval (Reject). A Reached reaction on Help Desk would fire after approvals too, and the existing New Ticket already fires there.

“Tell the customer when the desk closes the ticket.” On Workflow Step Exited, Help Desk (Close Ticket), recipient Created by.

“Tell the representative whenever the ticket’s status changes.” Tempting: On Entry Updated, watching Ticket status. It works for edits made in a form, but a status set by a workflow move does not count as an update. Ask what moment the manager really means: usually it is a step, and a step needs a workflow event.

✓ Practice (5 min) — Check your understanding

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

A builder makes a reaction on On Entry Updated to tell the customer when their ticket is approved by the manager. Approvals happen, but no message ever arrives. Why?

  1. Explanation for A

    ✗ Incorrect

    Not this one: group membership does not affect a message addressed to the creator. See Three workflow events.

  2. Explanation for B

    ✓ Correct

    Correct: moving between steps does not set off On Entry Updated; the reaction needs a workflow event. See Three workflow events.

  3. Explanation for C

    ✗ Incorrect

    Not this one: reactions 2 and 6 do exactly that, to the ticket’s Created by. See Who receives it.

Check your answer

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

PracticeChoose one answer.

The customer should be told when the desk sends the solution, but not when the desk closes a duplicate ticket. Which event fits?

  1. Explanation for A

    ✗ Incorrect

    Not this one: that runs every time a ticket arrives at the desk, before any decision. See Three workflow events.

  2. Explanation for B

    ✗ Incorrect

    Not this one: without a chosen action it runs for every way out, including Close Ticket. See Three workflow events.

  3. Explanation for C

    ✓ Correct

    Correct: choosing the action limits the message to the decision the customer must hear about. See Three workflow events.

Check your answer

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

PracticeDecide whether the statement is true or false.

One reaction can send the representative and the customer two different messages, as long as both recipients are listed under Recipients.

  1. Explanation for A

    ✗ Incorrect

    A reaction has one action with one message; listing two recipients sends them the same text. See One reaction, one action.

  2. Explanation for B

    ✓ Correct

    Correct: different messages need different actions, so you add two reactions on the same event. See One reaction, one action.

Check your answer

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

PracticeChoose one answer.

A customer must be notified, but the ticket has no field naming the customer. Which recipients setting reaches them?

  1. Explanation for A

    ✓ Correct

    Correct: every record keeps who created it, and the customer created the ticket in Ticket Request. See Who receives it.

  2. Explanation for B

    ✗ Incorrect

    Not this one: a fixed person would get every customer’s messages. See Who receives it.

  3. Explanation for C

    ✗ Incorrect

    Not this one: that group is the staff, not the customers. See Who receives it.

Check your answer

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

You built seven reactions that keep everyone informed, chose Reached for “it’s your turn” and Exited with an action for “this decision was taken”, and sent messages to a group, to a person in a field and to the ticket’s creator. After Module 3 you can make a process tell each person, automatically, what they need to know.

Next. Customers and the desk still have no screen to work in. In Module 4 you save the queries, build the two views, and add the chart and the monthly report.