Events Count Story Runner YAML
asset_label
must match the asset_label
field of a previous creation step
(ASSETS_CREATE
or ASSETS_CREATE_IF_NOT_EXISTS
)
for which the authorized credentials have Event write access.
props
, attrs
and asset_attrs
are optional.
This example counts all 'open door' events for the Courts of Justice Front Door.
---
steps:
- step:
action: EVENTS_COUNT
description: List all events for Courts of Justice Paris Front Door
print_response: true
asset_label: Courts of Justice Paris Front Door
props:
confirmation_status: CONFIRMED
attrs:
arc_display_type: open
asset_attrs:
arc_display_type: door