Run the IST wizard on a project whose result is already known. IST Test Project in SFOBox has nine systems. Five Template Project ISTs apply, two systems are new, and one record is there to prove it is left out. Compare the screen with the tables below, then run the check script. Reset puts the project back so you can do it again.
On the project, open Systems. You should see only these records. The Template System column is the comparison. A blank Template System is a new system.
| Record | Type | Under | Template System | What it is for |
|---|---|---|---|---|
| IST-TEST Building | Parent | Building Systems | Holds the others. No IST covers it. | |
| IST-TEST Public Address | System | IST-TEST Building | Public Address | Direct match. |
| IST-TEST Sharc Unit | Equipment | IST-TEST Building | Sharc System | Direct match. |
| IST-TEST Switchgear | Equipment | IST-TEST Building | Switchgear | Match through its parent, Electrical Power Distribution. |
| IST-TEST Elevator | Equipment | IST-TEST Building | Elevator | Direct match, and its parent Conveyance is on another IST. |
| IST-TEST Point of Use 400Hz | Equipment | IST-TEST Building | 400Hz (Point of Use) | Has a template, and no IST covers that template. It must not be recommended or linked. |
| IST-TEST Heat Recovery | Parent | New system. Generate uses this one. | ||
| IST-TEST Heat Pump | Equipment | IST-TEST Heat Recovery | Equipment of the new system. It is not listed on its own as a new system. | |
| IST-TEST Wayfinding | System | Second new system. Leave it, so you can see a system that gets no IST. |
The first step is 1. Recommended ISTs. Nothing is checked yet. Click Select all. You should see these five, in this order, and no others. IST 6.0 Ramp Operations is not here, because its template links were left unloaded.
| IST | Line under the name |
|---|---|
| IST 1.0 Audio Notification | 2 project records · Template Systems: Electrical Power Distribution, Public Address |
| IST 2.0 Conveyance | 2 project records · Template Systems: Conveyance, Elevator, Public Address |
| IST 3.0 Electrical Metering, Monitoring and Control | 2 project records · Template Systems: Conveyance, Electrical Power Distribution |
| IST 4.0 Emergency Power | 1 project record · Template Systems: Electrical Power Distribution |
| IST 11.0 SHARC | 1 project record · Template Systems: Sharc System |
None of them should say Already on this project. Click Next.
Step 2. New systems lists two records:
Click Generate on IST-TEST Heat Recovery only. The wizard moves to 3. Review new ISTs. The badge says Drafted by the Citiri agent. If Einstein is unavailable it says Drafted from record links, and the test still works.
The IST name, the summary, and any sections after the four empty ones change from run to run. One sandbox run named it IST - Heat Recovery System and added a Heat Recovery System section and a Heat Pump Equipment section, with three lines each. That wording is not the answer key.
The button reads Create 6 ISTs (five from the Template Project, plus the draft). Click it. The Created list has six names. Template copies keep the template name. The new one uses the drafted name. Click each template copy and compare its IST Systems related list.
| Copied IST | Linked records | Reason |
|---|---|---|
| IST 1.0 Audio Notification | IST-TEST Public Address IST-TEST Switchgear |
Points at Template System Public Address. Its Template System is under Electrical Power Distribution. |
| IST 2.0 Conveyance | IST-TEST Elevator IST-TEST Public Address |
Points at Template System Elevator. Points at Template System Public Address. |
| IST 3.0 Electrical Metering, Monitoring and Control | IST-TEST Elevator IST-TEST Switchgear |
Its Template System is under Conveyance. Its Template System is under Electrical Power Distribution. |
| IST 4.0 Emergency Power | IST-TEST Switchgear | Its Template System is under Electrical Power Distribution. |
| IST 11.0 SHARC | IST-TEST Sharc Unit | Points at Template System Sharc System. |
Each copied list also has the same shell: one group, five sections, and seven lines in Prerequisites/Critical Events. The four other sections are empty.
These records are on none of the five copies: IST-TEST Building, IST-TEST Point of Use 400Hz, IST-TEST Heat Recovery, IST-TEST Heat Pump, IST-TEST Wayfinding. Heat Recovery and Heat Pump are on the generated IST only, with link source Generated.
Open IST-TEST Switchgear. If the system page in this org is System Equipment Record Page 1, the Checklists tab has an ISTs list with only the IST name. You should see IST 1.0, IST 3.0, and IST 4.0. SFOBox still ships on the packaged system page, so this list is hidden until that page is activated. The IST Systems list on the Activity List is the check that works either way.
Open the wizard again. The five template ISTs now say Already on this project and cannot be checked. Heat Recovery says Already in an IST. Wayfinding does not.
From the SFO project folder, run:
sf apex run -o faizan.shaik@sfo.citiri.com.sfobox -f "docs/IST/IST Walkthrough/check_ist_test.apex"
Read the debug lines that start with CHECK. The last one is the score.
| When you run it | Last line |
|---|---|
| Before Create | CHECK done pass=16 fail=0 skip=1 |
| After Create, whether or not you generated | CHECK done pass=22 fail=0 skip=0 |
A generated IST is reported as CHECK INFO generated. It is not part of the pass count, because the agent names it.
Any CHECK FAIL means the project no longer matches this page.
Run seed_ist_test.apex to repair the nine records. That script does not delete ISTs you already created.
Reset deletes the IST Activity Lists on IST Test Project, their sections, lines, and links, and any generate drafts. The nine IST-TEST records stay. The Template Project stays.
sf apex run -o faizan.shaik@sfo.citiri.com.sfobox -f "docs/IST/IST Walkthrough/reset_ist_test.apex"
The debug line looks like RESET drafts=1 lists=6 nodes=... items=.... The counts depend on whether you generated. Then run the check script again. It should end with pass=16 fail=0 skip=1.