Skip to content

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:

PropertyDescription
PropertyDescription
WIZARD.statusThe wizard status: created, opened, completed or inactive.
WIZARD.typeThe wizard type: creation, ongoing_instances or ongoing_whole_case.
WIZARD.createdThe time when the wizard was created, as an ISO 8601 timestamp.
WIZARD.updatedThe time when the wizard was last updated, as an ISO 8601 timestamp.
WIZARD.wizard_template_uuidThe external UUID of the wizard template the wizard is based on (string or unknown).
WIZARD.emailThe email address the wizard was created for.
WIZARD.opened_onThe 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:

WIZARD.type = 'ongoing_whole_case'