|
1 | 1 | # OrgScript Examples |
2 | 2 |
|
3 | | -This folder shows OrgScript at three adoption levels. |
| 3 | +This folder is the quickest way to learn OrgScript by reading real files. |
| 4 | + |
| 5 | +## Suggested path |
| 6 | + |
| 7 | +1. Start with `simple` if you want the smallest readable process example. |
| 8 | +2. Move to `realistic` when you want end-to-end business flows. |
| 9 | +3. Use `advanced` when you want mixed block types and exporter coverage. |
4 | 10 |
|
5 | 11 | ## Simple |
6 | 12 |
|
7 | 13 | - [`lead-qualification.orgs`](lead-qualification.orgs) |
8 | | - A compact process example focused on trigger, branching, assignment, and transition. |
| 14 | + Best first read. A compact process example focused on trigger, branching, assignment, and transition. |
9 | 15 |
|
10 | 16 | ## Realistic |
11 | 17 |
|
12 | 18 | - [`craft-business-lead-to-order.orgs`](craft-business-lead-to-order.orgs) |
13 | 19 | A fuller business flow from lead intake through qualification, quote conversion, and order lifecycle. |
14 | 20 | - [`service-escalation.orgs`](service-escalation.orgs) |
15 | | - A policy- and event-oriented example for support and response handling. |
| 21 | + A policy- and event-oriented example for support handling, escalation, and role-based action. |
16 | 22 |
|
17 | 23 | ## Advanced |
18 | 24 |
|
19 | 25 | - [`order-approval.orgs`](order-approval.orgs) |
20 | 26 | A mixed file showing stateflow and rule modeling together, useful for exports and downstream tooling. |
21 | 27 |
|
| 28 | +## Quick index |
| 29 | + |
| 30 | +- `lead-qualification.orgs` - smallest onboarding example |
| 31 | +- `craft-business-lead-to-order.orgs` - craft-business pipeline and qualification logic |
| 32 | +- `service-escalation.orgs` - support escalation, policy flow, and permissions |
| 33 | +- `order-approval.orgs` - stateflow plus rule modeling in one file |
| 34 | + |
22 | 35 | ## How to use the examples |
23 | 36 |
|
24 | | -- Start with the `Simple` example if you are learning the language. |
25 | | -- Move to `Realistic` once you want to model operational flows end to end. |
26 | | -- Use `Advanced` when testing exports, linting, or tooling assumptions across multiple block types. |
| 37 | +- Read `lead-qualification.orgs` first to learn the smallest useful pattern. |
| 38 | +- Read `craft-business-lead-to-order.orgs` next to see a fuller real-world process. |
| 39 | +- Read `service-escalation.orgs` to see policy and role behavior. |
| 40 | +- Read `order-approval.orgs` when you want to see stateflow and rule modeling together. |
27 | 41 |
|
28 | 42 | ## Suggested commands |
29 | 43 |
|
|
0 commit comments