Configuring a Trigger to Set the Status of a User

Beginner

17 Dec 2015   Triggers

This example will configure a Trigger to set the Status of a user account to Live when a user account is created. When user accounts are created within Squiz Matrix, users are not able to log in until the account is first activated (i.e. the Status of the account changed to Live). This Trigger will automatically activate these accounts for you.

To configure this Trigger, follow the steps outlined below.  

  1. Create a new Trigger asset.
  2. Enter a Name and Description for the Trigger, as shown in the figure below.

    Details section of the Trigger
    The Details section of the Trigger

  3. In the Events section, select the Asset Created Trigger Event.
  4. In the Conditions section, select the Asset is of type Trigger Condition and click Commit. Additional fields will appear in the Conditions section, as shown in the figure below.

    Asset is of Type Trigger Condition
    The Asset is of Type Trigger Condition

    In the Match any one of these Types field, select User and click Inherit.
  5. In the Actions section, select the Set Status Trigger Action and click Commit. Additional fields will appear in the Actions section, as shown in the figure below.

    Set Status Trigger Action
    The Set Status Trigger Action

    In the Set the Asset's Status to field, select Live. Select the Ignore Permissions field to allow Squiz Matrix to ignore the access rights of the user/s firing this trigger when performing this Trigger Action.
  6. When you are satisfied with the settings of this Trigger, change its Status to Enabled and click Commit.

When a User account is created in the system, the Status of the account will now automatically change to Live.