Configuring a Trigger to Set a Future Status For a User

Beginner

17 Dec 2015   Triggers

This example will configure a Trigger to set a Future Status job on a user account when its Status is changed to Live. This can be useful, for example, if you want to force users to change their password after a certain amount of time (e.g. every 3 months). Instead of manually changing the Status of user accounts to Up For Review (which will prompt users to change their password), this Trigger will automatically change the Status.

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. 
  3. Details section
    The Details section of the Trigger

  4. In the Events section, select the Status Changed Trigger Event.
  5. 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
  6. In the Conditions section, select the Asset Status Trigger Condition and click Commit. Additional fields will appear in the Conditions section, as shown in the figure below.

    Asset Status Trigger Condition
    The Asset Status Trigger Condition

    In the Asset has the current status of field, select Live.
  7. In the Actions section, select the Delete Future Status Trigger Action and click Commit. Additional fields will appear in the Actions section, as shown in the figure below.

    The Delete Future Status Trigger Action
    The Delete Future Status Trigger Action 

    In the available field, select Up For Review.
  8. In the Actions section, select the Set Future Status Trigger Action and click Commit. Additional fields will appear in the Actions section, as shown in the figure below.

    Set Future Status Trigger Action
    The Set Future Status Trigger Action

    In the Add a cron job to change the asset's status to field, select Up For Review  and specify 80 days in the time period fields. 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.
  9. 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, a Future Job will now be created.