How to update an attribute as an action using the Time Based Trigger in Orders App?

Updated on March 30, 2020 11:53PM by Admin

Orders App in Apptivo enables you to update an attribute at a particular time using Time Based Triggers. Triggers are based on event and action functions. So, when the criteria match, you can perform an action as a trigger.

Consider the number of Orders has exceeded the current limit for March 28, 2020. So, let us create a time based trigger where the action is to change the Ordered Date to April 3, 2020, when the criteria match.

  • Go to Settings → Orders → Triggers → Time Based Triggers in the Orders App. In the Time Based trigger page, select Create to create a new trigger.
Settings

  • In the Create Trigger page, add a name for the trigger. Along with this, set the Execution Frequency for the trigger. It can be either One Time or Recurring.
Create Trigger

One Time - It will generate an action once at a particular time.

Recurring - It will generate action multiple times up to the configured date.

  • Here, One Time is chosen. In the Run On section, you can set the date and time when the trigger has to be sent.
  • Keep the Enabled toggle ON for the trigger to work.
  • Now, set the criteria during which the trigger must work. Here, the condition is to generate a trigger when the Ordered Date is 03/28/2020.
Criteria

  • Select the type of action that has to occur when the criteria match. Here, the action is to Update Attribute.
Actions

  • In the Create Trigger Action popup, select the attribute which has to be updated. Here, the Ordered Date will be updated to 04/03/2020.
Create Trigger Action

  • Once the configuration is complete, select Create. A new trigger is created.
Trigger Created

  • Create an Order in the Orders App where the Ordered Date is 03/28/2020.
Overview

  • Since the criteria match, the Ordered Date will change to 04/03/2020 at 11:00 PM.
Update Attribute