An active sales trigger evaluates the conditions you've assigned to it each time a trigger event happens, then it tries to carry out the specified actions. You can deactivate an active trigger when you no longer want it to perform the actions that you specified for it (for example, if the trigger is for a seasonal campaign).
This article covers the following topics:
Related articles:
Editing the condition of a sales trigger
You can define more conditions for your sales trigger by using logical expressions. The trigger evaluates the logical expression against the object that caused the trigger event immediately after the trigger event happens. If the evaluation is successful (true), the trigger attempts to carry out the actions that you specified for it. If it’s unsuccessful (false) nothing happens.
Conditions are comprised of three fundamental components:
-
Object.Field — this is the subject of a condition that refers to the object of a condition and its associated field. For example a subject such as a
Deal
refers to an object field, for example the monetaryValue
of the deal reaching a certain amount. -
Operator — this key determines the relationship between a condition's subject and its value (for example,
Is greater than
). -
Value — the reference data the trigger uses to evaluate a given condition.
Editing or deleting conditions
You can edit the conditions of a trigger at any point and if a specific condition is no longer necessary, you can delete it from the trigger.
To edit or delete a condition or nested condition
- Click the Options menu () next to the condition or nested condition.
- Click either Edit or Delete as appropriate.
Adding extra conditions
You can add up to 200 conditions for a trigger, although it is best practice to not over complicate a trigger with too many conditions. Be sure the conditions do not conflict with each other and try to keep them simple and logical.
To add another condition
- In Settings > Business rules > Triggers, click the trigger you want to edit.
- Under When, click (+) to open the dropdown menu, then click Add condition to configure an extra condition.
- Enter the details for that condition, then click Add to save it.
- Click Save to save the updated trigger.
Adding nested conditions
Nested conditions are essentially a set of conditions in parentheses (a clause) that are evaluated together, which allows you to create more advanced logical expressions. You can create up to two levels of nested conditions.
To add a nested condition
- In Settings > Business rules > Triggers, click the trigger you want to edit.
- Under When, click (+) to open the dropdown menu, then click Add nested condition.
- Enter the extra qualifying details for that condition, then click Add to save it.
- Click Save to save the updated trigger.
Deactivating sales triggers
An inactive trigger does nothing. You can always activate inactive triggers again if you want them to start operating.
To deactivate a trigger
- Click the Options () menu next to the trigger you want to make inactive.
- Click Deactivate.
Deleting sales triggers
If you want to delete a trigger completely, it must be inactive as you cannot delete active triggers.
To delete a trigger
- First, deactivate the trigger (see above).
- Click the Inactive tab, then click the Options () menu next to the trigger you want to delete.
- Click Delete.