M11-S2 — Capstone II: the Field Service module
Section titled “M11-S2 — Capstone II: the Field Service module”| Module | M11 — Master capstone |
| After this session you can | Carry a new module from requirements to an accepted build across the suite, on the web and on the phone. |
| Time | 215 min with a facilitator · about 215 min on your own, in three parts of about 70 minutes |
| Before you start | M11-S1: your register, architecture outline, decision records and plan, signed off or self-checked. Larkspur Dev as rami.aziz; private windows for Huda Rahman, Maya Idris and Omar Haddad; a phone or emulator with the mobile app signed in to Larkspur Dev. Your standard 1.0. |
| Go deeper | Data modelling: entities · Workflows · Reactions and automation · Data views |
◆ Orientation (1 min) — Build it, then prove it as its people
Section titled “◆ Orientation (1 min) — Build it, then prove it as its people”Larkspur’s field service runs today on phone calls and a shared spreadsheet. Huda Rahman dispatches visits to technicians; Maya Idris works on site from her phone; the parts she uses come from Asset Maintenance’s stores; a visit that fixes a pump should close its work order. You build the Field Service module that replaces the spreadsheet, from the register you wrote in M11-S1, and you prove it the way the rubric asks: every acceptance criterion passed by the person who owns it.
You know how to build every part of it from ACD and ACE; nothing here is new configuration. What is new is that you do it alone, to your own design, within your own standard, and that you predict how the engines will handle one dispatch before you watch them do it.
★ Capstone (208 min) — The Field Service module
Section titled “★ Capstone (208 min) — The Field Service module”Work in three parts. Each ends at a resume point: stop there if you work on your own across several sittings. The tasks say what to build and the constraints it must meet; how is your design. Each task names the rubric rows it is evidence for.
Part 1 — Data and seams (about 70 minutes)
Section titled “Part 1 — Data and seams (about 70 minutes)”- Create the module Field Service / «الخدمة الميدانية» (
field_service) and decide its store, with a one-line reason in your architecture notes (row 2). - Build Service Visits / «الزيارات الميدانية» from your register: at least a visit number the system fills, the visit type (a category your dispatchers maintain), the asset, the work order it serves, the technician (a user), the planned date, the site address, notes for the technician, the outcome, and the sign-off. Give it a main title that a dispatcher recognises at a glance (row 3).
- Build Visit Tasks / «مهام الزيارة»: the checklist a technician works through on site, each task belonging to one visit.
- Build Parts Used / «القطع المستخدمة» as a proxy of Spare Parts, so Field Service records which parts a visit consumed without depending on how Asset Maintenance designs its stores (row 2).
- Declare the other seams your architecture outline named: how a visit points to its asset and its work order through a seam, not by a direct relation into Asset Maintenance’s internal entities (row 2).
- Name everything in both languages, and check that a record’s title shows sensibly in lists, cards and references on both modules’ screens.
- Check Part 1 against the first five lines of your register before you go on. Update your decision records if a decision changed.
Resume point: the data model and its seams exist; nothing moves yet.
Part 2 — Process, automation and access (about 70 minutes)
Section titled “Part 2 — Process, automation and access (about 70 minutes)”- The visit’s workflow: Raised → Dispatched → On site → Completed → Signed off, with the moves your register needs (a technician may hand a visit back; a dispatcher may cancel before On site) (row 3).
- Owners and fallbacks: Huda’s group dispatches; the visit’s own technician owns On site and Completed; Operations Leads sign off. Every owner-bearing step has a fallback, as your standard’s rule requires (see the owner chain).
- A time limit: a dispatched visit must reach On site within the working time your register states, and an overdue visit is flagged to Huda.
- Cross-module automation (row 3): a visit that reaches Completed closes its work order in Asset Maintenance; the parts a visit used reduce the spare parts’ stock. Each runs once per event: decide what stops a second run (a condition on the change, not hope), and write it in a decision record.
- Failure reporting: when either automation fails, a named person (Omar Haddad) is told, with enough in the message to act.
- Notifications: Maya is told when a visit is dispatched to her; Huda when one is overdue or handed back.
- Access (row 3): a Field Technicians group for Maya and her colleagues, with what they need on the phone and nothing more; Huda’s dispatching rights; Operations Leads for sign-off. Remember the product facts: access is the highest grant from any source, a person who acts on requests needs at least View, and roles are assigned as entries of Assignment under Administration › Applications › Data Entities.
- Write two more decision records: one on the once-per-event mechanism, one on access.
Resume point: visits move through their process, other modules react, and people are told.
Part 3 — Screens, acceptance and prediction (about 70 minutes)
Section titled “Part 3 — Screens, acceptance and prediction (about 70 minutes)”- The dispatcher’s board on the web: visits by step, with the technician and planned date visible, pinned where Huda works (row 3).
- The technician’s screens on the phone: “my visits today”, and a form for on-site work (tasks, parts, outcome) that works in Maya’s language.
- Check the phone: everything Maya needs appears on the phone; record any parity gap and whether it is declared or must be fixed (as in M3-S5).
- A counter for Operations Command: open visits and overdue visits.
- Run the acceptance (row 3): for every acceptance criterion in your register, sign in as its owner (Huda, Maya, Omar or a lead), do what the criterion says, and record pass or fail with what you saw. Fix and re-run every fail.
- Predict one dispatch (row 4): before Huda dispatches visit SV-0001, write down which engines will act and in what order (the request, the stored record and its history, the workflow move, the reactions, the scheduled check of the time limit, the notifications) and at least three predictions you can check (for example: “the work order is closed by one reaction run, attributed to the named executor”; “the overdue flag appears after the time limit, not before”).
- Observe what Larkspur Dev shows: the record’s history, the run histories under Administration › Monitoring, the notifications, and the record read through the API. Mark each prediction confirmed, wrong (and why) or not observable here. You complete the trace in your lab release, where the logs and the bus are visible, in M11-S5.
- Save your evidence: the acceptance table, the predictions with their results, and screenshots of the board, the phone and one run history.
Resume point: the module is accepted by its people, and your predictions are on record.
Check yourself against the rubric
Section titled “Check yourself against the rubric”- Every register line is built, or deliberately deferred with a reason in the register (row 1).
- Field Service reaches Asset Maintenance only through declared seams (row 2).
- You have five decision records, each naming the option you rejected (row 2).
- The workflow, owners, fallbacks and time limit behave as the register says (row 3).
- Completing a visit closes its work order exactly once, and parts used reduce stock exactly once (row 3).
- A failure in either automation tells Omar, with enough to act (row 3).
- Huda’s board and Maya’s phone screens work in English and Arabic (row 3).
- Any parity gap on the phone is declared or fixed (row 3).
- Every acceptance criterion was run as its owner and passes (row 3).
- Your access design gives each group only what its job needs (rows 3 and 6).
- You wrote at least three predictions for one dispatch before observing it (row 4).
- Each prediction is marked confirmed, wrong with the reason, or not observable in Dev (row 4).
- Your build follows your standard; any departure is a recorded waiver (row 8).
- All data is fictional.
If something goes wrong
| What you see | What to do |
|---|---|
| Save is greyed out after you add a Date field | A known product defect: open the field’s settings, switch Calculated on and then off again, and close the panel. |
| A view cannot be saved | Choose its Fields first; a Kanban board also needs a Main title; the create and edit forms need an After Save. |
| The view does not appear in the sidebar | Pin to sidebar is under Appearance. |
| Maya cannot see the Services menu | Her system level is Restricted; anyone who submits or acts on requests needs at least View. |
| The work order closes twice, or its history shows two runs | Your once-per-event condition is missing or too broad; compare the run histories of the two runs and narrow the trigger. |
| A step stalls with no owner | Its owner could not be resolved and it has no fallback; add the fallback (your own standard’s rule). |
| Your plan is running late | Cut the line you chose in M11-S1’s clinic, and record it in the register. |
✓ Practice (5 min) — Building to production quality
Section titled “✓ Practice (5 min) — Building to production quality”In the acceptance run, completing visit SV-0004 closed its work order, but the work order’s history shows two closing runs a second apart, both successful. What is the most likely cause, given the design?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
A dispatched visit’s technician leaves the company and their account is deactivated. What should happen to the visit’s On site step in a design that meets the rubric?
Check your answer
The correct answer is C. Open the explanation under each option to see why.
An acceptance criterion reads: “Maya sees her visits for today on her phone, in Arabic.” Who should run it, and how?
Check your answer
The correct answer is A. Open the explanation under each option to see why.
One of your predictions says the overdue flag will appear on a visit “exactly when the time limit ends”. You observe it a few minutes later. What do you write?
Check your answer
The correct answer is B. Open the explanation under each option to see why.
↺ Recap (1 min) — What you have now
Section titled “↺ Recap (1 min) — What you have now”You have the Field Service module, built from your register within your standard: its data reached through declared seams, its process with owners, fallbacks and a time limit, automation across modules that runs once per event and reports its failures, screens for dispatchers on the web and technicians on the phone, and an acceptance run by the people who own each criterion. You have also written down how the engines should handle one dispatch, and checked what Larkspur Dev lets you see.
Next. In M11-S3 (extension strand) or M11-S4 (source strand) you build your chosen capability on top of this module, and a builder proves it is no-code.