Skip to content
ModuleM7 — Extend through documented extension points (extension strand)
After this session you canHand the capability to a builder who extends it on the web and on the phone without code, and record the proof against the checklist.
Time58 min with a facilitator · about 58 min on your own
Before you startM7-S1 and M7-S2: the capability runs end to end on Larkspur Dev. A private window signed in as Omar Haddad; the platform’s mobile app signed in as Omar on a phone or emulator; your terminal for the feed. The no-code guarantee checklist printed or open. M3-S5 for what the phone draws differently.
Go deeperReactions and automation · Mobile and web parity

◆ Orientation (1 min) — The test that matters

Section titled “◆ Orientation (1 min) — The test that matters”

A capability passes the guarantee on paper when its author says it does. It is proved when someone else, who writes no code, changes it and it works. Larkspur’s builder persona is Omar Haddad, the maintenance planner: Developer on Asset Maintenance and Condition Monitoring, a member of Maintenance Planners, at ease in the designer and on his phone. Today Larkspur buys a new kind of compressor. Omar must add its class and thresholds, and a new behaviour, a warning to the planners, on the web and on the phone, with no help from you. Your job is to watch, record and only then, if the proof fails somewhere, find out why. M7-S4 packages what Omar proved.

▶ Guided demo (10 min) — What the builder sees

Section titled “▶ Guided demo (10 min) — What the builder sees”

Starting state. Larkspur Dev with the capability from M7-S1 and M7-S2. Signed in as Omar Haddad.

  1. As Omar, open Data Entities › Meter Readings › Reactions. He sees Evaluate reading, Store level, Flag evaluation problem and Raise alarm work order, with their run counts.
  2. Open Evaluate reading. Execute Function names reading-evaluator, and its parameters are mapped to fields and one fixed value. Omar can change any mapping; he cannot see or change the code.
  3. Open the function’s description from the action: the contract you wrote in M7-S1, in words a planner reads.
  4. Select a run count on Evaluate reading. For Omar the counters are plain numbers; the run details are for system administrators. Note it: observability for the builder is the count and the record itself.
  5. Open Threshold Rules through the planners’ view. Omar can add and edit rules.
  6. On the phone, open Condition Monitoring and the readings list. The levels are shown; open one reading and compare its fields with the web form.

Screenshot pending Omar Haddad's view of the Evaluate reading reaction: the Execute Function action with its parameters mapped to fields and a fixed dead band What to notice: everything a builder may change is a mapping or a value in the designer; the code is a name with a contract.

⛏ Lab (38 min) — Omar’s change, on two screens

Section titled “⛏ Lab (38 min) — Omar’s change, on two screens”

Goal. Omar adds a new asset class with its thresholds and a new warning reaction, on the web and on the phone, unaided; you record the evidence against each of the ten tests.

Before you start. Decide now, and write down, what counts as “help”: anything you say or type is help. If you are working alone, play Omar strictly: use only the designer and the apps, never the terminal, the API or this course’s earlier labs. Prepare an evidence table: test, what Omar did, where, time, screenshot.

Omar’s change on the web

  1. As Omar, in Asset Maintenance › Asset Classes, add Screw compressors.
  2. In Condition Monitoring › Threshold Rules, add three rules for Screw compressors: Pressure, bar, warn 8, alarm 10; Vibration, mm/s, warn 3.5, alarm 6; Temperature, °C, warn 85, alarm 100; all active.
  3. In Assets, register C-305 (Screw compressor, line 3) of class Screw compressors.
  4. You (as the plant, not as Omar) run the feed with one pressure reading of 8.5 bar for C-305. The adapter finds the new rule by itself.
  5. As Omar, open the reading: Level is Warn, Warn above shows 8.
  6. As Omar, add a reaction on Meter Readings, Warn the planners: On Entry Updated, watching Level, criteria Level is Warn; Send Notification to the group Maintenance Planners with the text “Warning on {Asset}: {Evaluation note}”. Save.
  7. Run the feed again with a new 8.6 bar reading for C-305.
  8. As Omar on the web, the notification arrives.

Omar’s change on the phone

  1. On the phone, as Omar, the same notification is there; open it and reach the reading.
  2. On the phone, open the vibration rule for Screw compressors and change Warn above to 3.8. Save.
  3. Run the feed with a vibration reading of 3.7 mm/s for C-305. On the phone, the reading shows Normal.
  4. On the phone, open the readings list filtered on C-305. All three readings and their levels are there.

Screenshot pending The mobile app signed in as Omar Haddad, showing the warning notification for C-305 and the vibration rule edited on the phone What to notice: the builder’s change and its effect are both visible on the phone, which is what test 5 asks for.

Governance and removal

  1. As Omar, disable Warn the planners. Run the feed with an 8.7 bar reading: no notification. Enable it again.
  2. As Rami Aziz, open Access Management › User Permissions for Omar: nothing was granted for this proof beyond what he already held.
  3. As Rami, open Reaction Logs for the last readings: every run is there, with Omar’s reaction among them.

The record

  1. Fill the evidence table for all ten tests. Mark each Proved, Not applicable with a reason, or Failed with what you saw.
  2. Write down every moment Omar needed help, or every step you could not do as Omar.
  3. If any test failed, resolve it without code (see the worked scenario) and repeat the step that proved it.
  4. Restore C-305’s vibration rule to warn 3.5.

Check.

  • Omar added the class, three rules and an asset in the designer only.
  • The adapter needed no change to evaluate C-305.
  • Omar’s reaction sent the warning, seen on the web and on the phone.
  • A threshold changed on the phone changed the next reading’s level.
  • Disabling Omar’s reaction stopped the warning, and enabling it restored it.
  • Omar received no new grant for the proof.
  • All ten tests have a verdict with evidence.
  • Every moment of help is recorded, or “none”.

Pass condition. The evidence table proves tests 1, 2, 4, 5, 7, 8 and 10 by Omar’s own actions on the two apps, and gives a reason for every other verdict.

If something goes wrong

What you seeWhat to do
Omar cannot add a ruleThe planners’ view on Threshold Rules must allow creating and editing for Maintenance Planners. That is a configuration gap: record it, fix the view’s access as Rami, and repeat.
Omar cannot save the reactionAuthoring a reaction needs Developer on its entity; check his grant on Condition Monitoring.
The reading for C-305 has no ruleThe rule is inactive, or its Measure differs from the reading’s; the adapter finds active rules by class and measure.
No notification on the phoneCheck the app’s notification permission and that Omar is signed in to the right space; the web notification proves the reaction.
The phone does not show Warn aboveThat is a parity gap: see the worked scenario.
Model answer

A complete record looks like this. 1 Variation is data: proved, a new class and its thresholds were records Omar added, on the web and on the phone. 2 Offered by name: proved, reading-evaluator is a named function with mapped parameters; Omar read and could change its mappings. 3 Parameters, not forks: not applicable to Omar’s change; the same function served both classes unchanged. 4 The engine runs it: proved, every step ran in reactions visible on the Reactions tab. 5 Web and phone: proved, the rule edited on the phone and the warning received there. 6 Record model: proved, readings, rules and work orders are entries; no side store. 7 Governed: proved, no new grant, the telemetry token unchanged. 8 Observable: proved, Omar saw run counts and the levels on records; run details stayed with administrators, which is accepted. 9 Shippable: proved in M7-S4. 10 Removable: proved, Omar’s reaction disabled and enabled in the designer. Help: none, or the one access gap on the planners’ view, fixed by configuration.

◇ Worked scenario (2 min) — The threshold the phone did not show

Section titled “◇ Worked scenario (2 min) — The threshold the phone did not show”

In a cohort’s proof, Omar opens a reading on the phone to check why it was Warn, and the form shows Value and Level but not Warn above or Alarm above. On the web they are there. Is the guarantee broken? Decide at each step before you read on.

Step 1. Code or configuration? Nothing in the capability’s code draws a screen; the phone draws the reading from its view’s configuration, as you saw in M3-S5. So either the phone’s rendering does not support something in that configuration, or the configuration differs between the two apps.

Step 2. Which one? The parity notes list no gap for these fields: mapped fields and blocks are drawn on the phone. So you compare the configuration: the phone opens the readings through another view, built before the thresholds were mapped, and its form does not include them. The mapped fields themselves are supported.

Step 3. The no-code fix. Omar, not you, adds a phone-friendly view of Meter Readings that lists the mapped thresholds as plain fields, and sets it as the view the phone uses. He repeats step 9 of the lab: the thresholds now show. Test 5 is proved by configuration, and the gap goes into the program’s parity register with its fix.

Step 4. What if it needed code? If the phone could not draw a field type at all, the honest outcome would be a declared fallback recorded against test 5, not a quiet “web only”. On this strand you do not change the apps; on the source strand, that is exactly the work of M8-S4.

The lesson: a proof is useful precisely when it fails somewhere; the gap it finds is either fixed by the builder, in the designer, or declared.

✓ Practice (6 min) — Check your understanding

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

During the proof, Omar cannot find where to change the dead band, so you set it for him “to save time”. What do you record?

  1. Explanation for A

    ✗ Incorrect

    Not this one: the dead band is a builder-facing parameter, so a builder must be able to change it. See the lab’s record.

  2. Explanation for B

    ✓ Correct

    Correct: any help invalidates that part of the proof until a builder repeats it unaided. See the lab’s record.

  3. Explanation for C

    ✗ Incorrect

    Not this one: the dead band is a fixed value in the reaction’s mapping, not in code. See M7-S1: the contract.

Check your answer

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

PracticeChoose one answer.

Omar can see that Evaluate reading ran 120 times but cannot open the run details. Does test 8 pass?

  1. Explanation for A

    ✗ Incorrect

    Not this one: run details carry stored payloads and are for administrators by design; the builder sees counts and the records. See the demo.

  2. Explanation for B

    ✓ Correct

    Correct: observability is satisfied where builders and administrators already look, each at their level. See the demo.

  3. Explanation for C

    ✗ Incorrect

    Not this one: granting more for the proof breaks test 7 and proves nothing about the real builder. See the lab.

Check your answer

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

PracticeChoose one answer.

Why does the feed adapter need no change when Omar adds Screw compressors?

  1. Explanation for A

    ✓ Correct

    Correct: the adapter’s lookup is driven by data, so new classes are new records, not new code. See M7-S2: the adapter.

  2. Explanation for B

    ✗ Incorrect

    Not this one: it looks up rules for each reading’s asset and measure; a restart is not needed. See M7-S2: the adapter.

  3. Explanation for C

    ✗ Incorrect

    Not this one: the adapter lives outside the platform and is never changed by a package. See M6-S4: the extension map.

Check your answer

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

PracticeChoose one answer.

The phone does not draw one grouping of fields, and the builder cannot change that by configuration. What does test 5 require?

  1. Explanation for A

    ✗ Incorrect

    Not this one: the guarantee covers both apps; silence on one is a gap. See the threshold the phone did not show.

  2. Explanation for B

    ✗ Incorrect

    Not this one: the extension strand changes no app; app changes belong to the source strand. See the threshold the phone did not show.

  3. Explanation for C

    ✓ Correct

    Correct: when configuration cannot close a gap, the guarantee is kept honestly by declaring it. See the threshold the phone did not show.

Check your answer

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

PracticeChoose one answer.

You are working alone and play Omar yourself. Which practice keeps the proof honest?

  1. Explanation for A

    ✗ Incorrect

    Not this one: the proof is about what a builder can do in the designer and the apps. See the lab.

  2. Explanation for B

    ✓ Correct

    Correct: playing the persona strictly, and recording where it broke, gives the same evidence a real builder would. See the lab.

  3. Explanation for C

    ✗ Incorrect

    Not this one: test 5 needs the phone; use an emulator, or record the test as not yet proved. See the lab.

Check your answer

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

↺ Recap (1 min) — Proved, not asserted

Section titled “↺ Recap (1 min) — Proved, not asserted”

A builder extended the capability on two screens without code, and you hold the evidence for every test. Where the proof found a gap, it was fixed by configuration or declared. Next, M7-S4: ship what Omar proved as a versioned package, list what a package cannot carry, and judge the design against the map one last time.