Skip to content

M11-S2 — Capstone II: the Field Service module

Section titled “M11-S2 — Capstone II: the Field Service module”
ModuleM11 — Master capstone
After this session you canCarry a new module from requirements to an accepted build across the suite, on the web and on the phone.
Time215 min with a facilitator · about 215 min on your own, in three parts of about 70 minutes
Before you startM11-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 deeperData 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)”
  1. Create the module Field Service / «الخدمة الميدانية» (field_service) and decide its store, with a one-line reason in your architecture notes (row 2).
  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).
  3. Build Visit Tasks / «مهام الزيارة»: the checklist a technician works through on site, each task belonging to one visit.
  4. 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).
  5. 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).
  6. Name everything in both languages, and check that a record’s title shows sensibly in lists, cards and references on both modules’ screens.
  7. 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)”
  1. 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).
  2. 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).
  3. 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.
  4. 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.
  5. Failure reporting: when either automation fails, a named person (Omar Haddad) is told, with enough in the message to act.
  6. Notifications: Maya is told when a visit is dispatched to her; Huda when one is overdue or handed back.
  7. 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.
  8. 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)”
  1. The dispatcher’s board on the web: visits by step, with the technician and planned date visible, pinned where Huda works (row 3).
  2. 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.
  3. 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).
  4. A counter for Operations Command: open visits and overdue visits.
  5. 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.
  6. 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”).
  7. 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.
  8. 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.

  • 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 seeWhat to do
Save is greyed out after you add a Date fieldA known product defect: open the field’s settings, switch Calculated on and then off again, and close the panel.
A view cannot be savedChoose 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 sidebarPin to sidebar is under Appearance.
Maya cannot see the Services menuHer 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 runsYour 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 ownerIts owner could not be resolved and it has no fallback; add the fallback (your own standard’s rule).
Your plan is running lateCut 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”
PracticeChoose one answer.

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?

  1. Explanation for A

    ✗ Incorrect

    Not this one: a matched reaction runs once per matching event; two runs mean two matches. See Part 2.

  2. Explanation for B

    ✓ Correct

    Correct: without a condition on the specific change, every later update of a completed visit matches again. See Part 2.

  3. Explanation for C

    ✗ Incorrect

    Not this one: the trigger is the visit’s update, wherever it came from; two runs mean two matching updates. See Part 2.

Check your answer

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

PracticeChoose one answer.

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?

  1. Explanation for A

    ✗ Incorrect

    Not this one: a step whose owner cannot be resolved stalls; the rubric expects the design to handle it. See Part 2.

  2. Explanation for B

    ✗ Incorrect

    Not this one: closing work that was never done would close the work order too; a missing owner is not completion. See Part 2.

  3. Explanation for C

    ✓ Correct

    Correct: every owner-bearing step has a fallback, so an unresolvable owner passes the step to people who can act. See the owner chain.

Check your answer

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

PracticeChoose one answer.

An acceptance criterion reads: “Maya sees her visits for today on her phone, in Arabic.” Who should run it, and how?

  1. Explanation for A

    ✓ Correct

    Correct: acceptance is run as the person who owns the criterion, on their surface, in their language. See Part 3.

  2. Explanation for B

    ✗ Incorrect

    Not this one: an administrator sees more than Maya and uses another surface, so the run proves nothing about her. See Part 3.

  3. Explanation for C

    ✗ Incorrect

    Not this one: Huda’s view of the visits is not Maya’s; each criterion is run as its own owner. See Part 3.

Check your answer

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

PracticeChoose one answer.

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?

  1. Explanation for A

    ✗ Incorrect

    Not this one: the prediction named a time, and the observation differs; the difference must be explained. See Part 3.

  2. Explanation for B

    ✓ Correct

    Correct: a wrong prediction explained from the engine is exactly the evidence row 4 asks for. See M4-S4.

  3. Explanation for C

    ✗ Incorrect

    Not this one: the record’s history shows when the flag was set, so the timing is observable. See Part 3.

Check your answer

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

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.