WIZARD¶
Info
New in Atfinity 17.
In rules that are triggered by a wizard (for example ongoing wizards), you can access information about the wizard that triggered the rule with the constant WIZARD. On this constant, the following information is available:
| Property | Description |
|---|---|
| Property | Description |
WIZARD.status | The wizard status: created, opened, completed or inactive. |
WIZARD.type | The wizard type: creation, ongoing_instances or ongoing_whole_case. |
WIZARD.created | The time when the wizard was created, as an ISO 8601 timestamp. |
WIZARD.updated | The time when the wizard was last updated, as an ISO 8601 timestamp. |
WIZARD.wizard_template_uuid | The external UUID of the wizard template the wizard is based on (string or unknown). |
WIZARD.email | The email address the wizard was created for. |
WIZARD.opened_on | The time when the wizard was first opened, as an ISO 8601 timestamp (or unknown if it was never opened). |
Warning
WIZARD is only available in rules that are triggered by a wizard. In any other rule, its attributes evaluate to unknown. To reason about all wizards on a case regardless of what triggered the rule, use CASE.wizards instead.
Example¶
In an ongoing wizard rule, you could react only to wizards of a specific type: