M9-S1 — Publish a service with an approval workflow
Section titled “M9-S1 — Publish a service with an approval workflow”| Module | M9 — Offer it as a service |
| After this session you can | Publish a service that colleagues request from the catalog, approved by each requester’s own manager, and prove it as each person. |
| Time | Facilitated: 75 min · On your own: about 69 min |
| Before you start | M7-S1 (reference fields). In your space: Support Manager recorded as the manager of Representative One and Desk Agent, the group Support Staff, and the service category Customer Support (M0-S1). From ACP: M5-S1, where you submitted and approved a request. |
| Go deeper | Publish a service with an approval workflow · Choose who acts at a step · Services and requests |
◆ Orientation (1 min) — From a view to the catalog
Section titled “◆ Orientation (1 min) — From a view to the catalog”Sometimes a representative decides a customer needs a replacement device. Today they email the desk and wait for their manager to agree. In ACP you submitted a leave request from the Services Catalog; now you publish a service there: Device Replacement, requested by support staff, approved by the requester’s own manager, and dispatched by the desk.
▤ Concept (5 min) — What makes an entity a service
Section titled “▤ Concept (5 min) — What makes an entity a service”A service is an entity people request
Section titled “A service is an entity people request”A service is an entity whose records are requests. You design it like any entity (fields, workflow), but you create it from Administration › Services › Services Catalog, and instead of building a view you give it a place in the catalog:
| Setting (service Details tab) | What it decides |
|---|---|
| Category | where the card sits in the catalog; categories come from a list your administrator keeps |
| Audience › Authenticated | offered to people who are signed in; pick Select Users or Select groups to narrow it, or leave both empty for everyone |
| Audience › Anonymous | offered to people who are not signed in; cannot be combined with picked users or groups |
| Watchers | people or groups who follow every request without acting on it |
A service is offered only once it is active. Save and Activate is available only when the service has a workflow, a Category and an Audience; Deactivate takes it out of the catalog without deleting it.
| You built in Modules 1 to 8 | A service adds |
|---|---|
| Records added from a view | Requests started from a catalog card (Apply) |
| Views decide who can open the list | the Audience decides who may request; the Inbox and Outbox show each person their part |
| Publish a view | Save and Activate the service |
The requester’s manager
Section titled “The requester’s manager”Manager approval must go to the requester’s own manager, who is different for each requester. Set the owner to the person who submitted (User, Previous Step Owner, the initial step) and turn on Relative: Relation Manager, Relation Grade 1 (grade 2 is the manager’s manager). The platform looks the manager up in the organization structure, which your administrator maintains. A requester with no manager recorded falls to Fallback Assignment 1.
“Not yet” and “no” for a requester
Section titled ““Not yet” and “no” for a requester”Here, unlike the ticket workflow, the approver’s “no” really ends the request, and “not yet” goes back to the requester. The Return and Reject checkboxes do exactly that (M2-S2). Rename Return to Return for changes and set its Action comment status to Required, so the manager says what to fix; the note reaches the requester through Workflow comments.
flowchart LR A["Initial Step<br/>(the requester)"] -->|Submit| B["Manager approval<br/>(the requester's manager)"] B -->|Approve| C["Dispatch<br/>(Technical Support Office)"] B -->|Return for changes| A B -->|Reject| E["Complete Step"] C -->|Dispatched| E
What to notice: the approver is computed per request from the organization structure; the desk claims the dispatch with Take Ownership, as at Help Desk.
⛏ Lab (53 min) — Build, activate and test Device Replacement
Section titled “⛏ Lab (53 min) — Build, activate and test Device Replacement”Goal. Publish Device Replacement for Support Staff, and take one request through it as the requester, the manager and the desk.
Before you start. Signed in as yourself.
Create the service and its form
- Open Administration › Services › Services Catalog and select Add Service. The Add New Data Entity dialog opens.
- Name Device Replacement (Arabic استبدال جهاز), an icon, Choose Module Customer Support System, Single Name Device replacement request, Plural Name Device replacement requests. Select Create; the designer opens.
- On Structure, add Device (Category: Laptop, Phone, Router, Other; Required), Related ticket (Reference to Support Tickets, one record), Reason (Long-text, Required) and Shipment reference (Text). Select Save.
The workflow
-
On Workflows, select Add A Workflow. Select the Initial Step’s action and rename it Submit.
-
Create Step after the initial step: Name Manager approval, Step Type Normal, Main Action Next Step, tick Return and Reject.
-
Step Owner: User, User Type Previous Step Owner, Step Name Initial Step; turn on Relative, Relation Manager, Relation Grade 1.
-
Fallback Assignment 1: User, Fixed, Support Manager. Select Done.
-
Rename the step’s main action Approve. Open Return, rename it Return for changes, and set Action comment status to Required.
-
Create Step after Manager approval: Name Dispatch, Main Action Next Step, Return and Reject unticked. Step Owner: Group, Fixed, Technical Support Office, Single User, Take Ownership. Fallback Assignment 1: User, Fixed, Support Manager. Select Done, and rename its main action Dispatched.
-
Set the field rules:
Field Initial Step Manager approval Dispatch Device, Related ticket, Reason Mandatory (Related ticket: Editable) Locked Locked Shipment reference Hidden Hidden Mandatory -
Select Save.
Screenshot pending The Create New Step dialog for Manager approval: owner Previous Step Owner of the Initial Step, Relative on, Relation Manager, Relation Grade 1, and a fixed fallback What to notice: the owner is not a person you pick. It is worked out from whoever submitted, one level up the organization structure.
Catalog, audience and activation
- Open the Details tab. Set Category Customer Support.
- Under Audience, turn on Authenticated and choose Support Staff in Select groups. Leave Watchers empty. Select Save.
- On the service’s Views tab, edit the request view the platform created and turn on Workflow path and Workflow comments, as in M4-S1. Save.
- From the designer’s actions menu, select Save and Activate, and confirm.
Test it
- As Representative One, open Services › Services Catalog. Point at the Device Replacement card and select Apply.
- In New Request, choose Router, pick the ticket Printer not found in Related ticket, type the Reason Customer’s router is faulty, and save. Select Submit and confirm.
- As Support Manager, open Services › Inbox, open the request, and select Return for changes with the comment Say which model.
- As Representative One, open Services › Outbox: the request is back with you. Open it, read the manager’s note in Discussion, edit the Reason to Customer’s Router X2 is faulty, and select Submit again.
- As Support Manager, approve it from the Inbox.
- As Desk Agent, open it from the Inbox, select Take Ownership, fill in Shipment reference SHP-1042, and select Dispatched.
- As Representative One, check the Outbox: the request is under Completed.
Check.
- Device Replacement is active in the catalog under Customer Support.
- Customer One does not see it in the catalog; Representative One does.
- The request went to Support Manager because the administrator recorded him as Representative One’s manager.
- Return for changes required a comment, and the requester read it on the request.
- Shipment reference was hidden until Dispatch, and required there.
- The requester’s Outbox shows the request as completed.
Pass condition. A request submitted by Representative One was returned, resubmitted, approved by his manager and dispatched by the desk, and ended in his Outbox as completed.
If something goes wrong
| What you see | What to do |
|---|---|
| Save and Activate is greyed out | The service needs a workflow, a Category and an Audience with Authenticated or Anonymous on. Fix any validation error first. |
| The Category list is empty | No service category exists; ask your administrator. |
| Representative One does not see the service | It is not active, or he is not in Support Staff. |
| The request went straight to Support Manager through the fallback | Same person here, so check the request’s route: if the step shows the fallback, the requester has no manager recorded. Ask your administrator. |
| Return for changes has no comment box | Set its Action comment status to Required and save. |
| The requester cannot read the manager’s note | Workflow comments is off in the service’s request view (step 14). |
| No Device Replacement card under Apply | The card shows Apply when you point at it; the form it opens is titled New Request. |
Model answer
The service, piece by piece:
- Form: Device, Related ticket (a reference reusing M7’s skill), Reason, and Shipment reference, hidden until the desk dispatches.
- Workflow: Manager approval owned by the submitter’s manager (Previous Step Owner of the initial step, Relative, Manager, grade 1), with Return (renamed, comment required) and Reject; Dispatch owned by Technical Support Office with Take Ownership; fixed fallbacks on both.
- Catalog: Category Customer Support, Audience Support Staff, Save and Activate. The request view shows the route and the notes.
- The administrator’s part (managers, the group, the category) was used, not built.
✳ Discussion (10 min) — Service or view?
Section titled “✳ Discussion (10 min) — Service or view?”You now know two ways to let people add records: a view with Creating new entries, and a service in the catalog. Which would you choose for: (a) customers opening support tickets; (b) staff asking for a replacement device; (c) the desk logging a phone call, no approval; (d) citizens booking a public appointment without an account?
With a facilitator: groups of three, 5 minutes to decide the four cases with one reason each; then 5 minutes comparing answers and noting where groups disagree and why.
On your own: write your choice and one reason for each case, then compare with the model answer.
Model answer
- (a) Customer tickets: either works; the tutorial uses a view. A view fits when the people who create records also work with lists of them (my tickets). A service would put tickets in customers’ Inbox and Outbox, which also works.
- (b) Device replacement: a service. Staff ask for something from another team; the catalog is where they look, and the Outbox follows it.
- (c) Logging calls: a view. Nobody requests anything; the desk records work it does.
- (d) Public appointments: a service with an anonymous audience, with Human Verification considered, because the people asking have no account.
✓ Practice (5 min) — Check your understanding
Section titled “✓ Practice (5 min) — Check your understanding”Save and Activate stays greyed out. The service has a workflow and a category. What is missing?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
A request from Desk Agent reaches Support Manager at Manager approval; one from a new employee goes to the fallback instead. What is the most likely reason?
Check your answer
The correct answer is A. Open the explanation under each option to see why.
After Return for changes, where does the requester find the request?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
A service can be offered both to anonymous visitors and only to the group Support Staff.
Check your answer
The correct answer is B (False). Open the explanation under each option to see why.
↺ Recap (1 min) — What you can do now
Section titled “↺ Recap (1 min) — What you can do now”You published a service: a request form, an approval by each requester’s own manager with “not yet” and “no”, a desk that claims the work, a place in the catalog for the right group, and the route and notes visible to the requester. After Module 9 you can offer any approval process as a service in the catalog.
Next. Module 10 is the capstone: you extend the system once more without step-by-step help, prove all of it as each person on the web and on the phone, and export it as a package.