Skip to content

Commit 8333e1a

Browse files
hotlongCopilot
andauthored
更新 formulas-and-rules-quick-ref.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c4b2679 commit 8333e1a

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

docs/guide/formulas-and-rules-quick-ref.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,18 @@ rules:
231231
type: state_machine
232232
field: status
233233
transitions:
234-
draft: [submitted, cancelled]
235-
submitted: [approved, rejected]
236-
approved: [processing, cancelled]
237-
processing: [shipped, cancelled]
238-
shipped: [delivered]
239-
delivered: [] # terminal
234+
draft:
235+
allowed_next: [submitted, cancelled]
236+
submitted:
237+
allowed_next: [approved, rejected]
238+
approved:
239+
allowed_next: [processing, cancelled]
240+
processing:
241+
allowed_next: [shipped, cancelled]
242+
shipped:
243+
allowed_next: [delivered]
244+
delivered:
245+
allowed_next: [] # terminal
240246
```
241247

242248
### Calculated Metrics

0 commit comments

Comments
 (0)