Repository navigation
Flow action Get Variable Properties
Returns the variable’s last-set time as a formatted string and numeric timestamp tag.
| Argument | What to enter |
|---|---|
variable (Variable) |
Choose the BLL variable of the displayed type. Supported selectors may create a variable when the Flow is saved. |
| Token | Type | Meaning |
|---|---|---|
lastChangedTick |
number | Last Changed (UTC tick) |
lastChanged |
string | Last Changed (datetime) |
The numeric tag is milliseconds since the Unix epoch in current source.
Create LastRoomUpdate and place this action after the event whose freshness
you want to measure. In the next Execute BLL-expression (as Tag) card,
insert this action's Last Changed (UTC tick) token in the expression:
Math.round((now - lastChangedToken) / 60000)Replace the placeholder lastChangedToken by inserting the Flow token from
this action. Connect the expression's number result to a numeric condition
such as Greater than. To report the age, pass it through Format number
and connect that action's text result to a notification. This card order
evaluates the saved timestamp before calculating its age.
Although the token title says UTC tick, source returns Date.getTime() milliseconds, not .NET ticks. It records the last set time, including same-value writes.
Support development - If Better Logic Library is useful to you, you can support its
continued development through GitHub Sponsors,
Patreon,
PayPal, or
bunq.
Thank you!