Skip to content

Commit bf41e42

Browse files
committed
Add last-entered-state time expression to reference
1 parent 2da420a commit bf41e42

File tree

1 file changed

+10
-9
lines changed
  • src/docs/references/transaction-process-time-expressions

1 file changed

+10
-9
lines changed

src/docs/references/transaction-process-time-expressions/index.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,16 @@ https://en.wikipedia.org/wiki/ISO_8601#Durations
6363

6464
## Timepoints
6565

66-
| Timepoint | Arguments | Description | Example |
67-
| ----------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
68-
| `:time/tx-initiated` | - | The timestamp for when the transaction was initiated. | `{:fn/timepoint [:time/tx-initiated]}` |
69-
| `:time/first-entered-state` | State name as keyword. | The timestamp when the process entered the given state for the first time. Processes may contain loops so a state can be entered multiple times. | `{:fn/timepoint [:time/first-entered-state :state/state-name]}` |
70-
| `:time/first-transitioned` | Transition name as keyword. | The timestamp when the process executed the given transition successfully for the first time. | `{:fn/timepoint [:time/first-transitioned :transition/transition-name]}` |
71-
| `:time/booking-start` | - | The booking start timestamp. | `{:fn/timepoint [:time/booking-start]}` |
72-
| `:time/booking-end` | - | The booking end timestamp. | `{:fn/timepoint [:time/booking-end]}` |
73-
| `:time/booking-display-start` | - | The booking display start timestamp. | `{:fn/timepoint [:time/booking-start]}` |
74-
| `:time/booking-display-end` | - | The booking display end timestamp. | `{:fn/timepoint [:time/booking-end]}` |
66+
| Timepoint | Arguments | Description | Example |
67+
| ----------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
68+
| `:time/tx-initiated` | - | The timestamp for when the transaction was initiated. | `{:fn/timepoint [:time/tx-initiated]}` |
69+
| `:time/first-entered-state` | State name as keyword. | The timestamp when the process entered the given state for the first time. Processes may contain loops so a state can be entered multiple times. | `{:fn/timepoint [:time/first-entered-state :state/state-name]}` |
70+
| `:time/last-entered-state` | State name as keyword. | The timestamp when the process entered the given state for the most recent time. Processes may contain loops so a state can be entered multiple times. | `{:fn/timepoint [:time/last-entered-state :state/state-name]}` |
71+
| `:time/first-transitioned` | Transition name as keyword. | The timestamp when the process executed the given transition successfully for the first time. | `{:fn/timepoint [:time/first-transitioned :transition/transition-name]}` |
72+
| `:time/booking-start` | - | The booking start timestamp. | `{:fn/timepoint [:time/booking-start]}` |
73+
| `:time/booking-end` | - | The booking end timestamp. | `{:fn/timepoint [:time/booking-end]}` |
74+
| `:time/booking-display-start` | - | The booking display start timestamp. | `{:fn/timepoint [:time/booking-start]}` |
75+
| `:time/booking-display-end` | - | The booking display end timestamp. | `{:fn/timepoint [:time/booking-end]}` |
7576

7677
A booking always has start and end times. You may optionally specify
7778
display start and display end times via transition parameters. Start and

0 commit comments

Comments
 (0)