Page tree

In the off chance that something would go wrong while the rule set is being performed, you want to send an e-mail to the site administrator and schedule the rule set again for the next day.

  1. From the Events tab, drag an Exception event to the canvas.
  2. From the Actions tab, drag an Email action to the Exception resulting event.
  3. Double-click the Email action and edit the action's parameters as follows:
    1. For the To parameter, in the Value column, click the Edit Value button and navigate to Global Variable folder. In the folder, select the prepress_operators_emails global variable if you have one configured already. Otherwise, type your e-mail address.
    2. Set the Subject parameter to the name of the rule set and include the rule and message of the exception. For example, For the Subject parameter, in the Value column, click Enter a Value and type Report Daily Approval Record failed. Rule: %triggerEvent.RuleName% Error: %triggerEvent.Message%
    3. Click OK.
  4. From the Actions tab, drag a Disable Rule Set action to the Sent event of the Email action.
  5. Double-click the Disable Rule Set action and edit the action's parameters as follows:
    1. For the Environment parameter, in the Value column, in the list, select System.
    2. Click OK.
  6. From the Actions tab, drag a Enable Rule Set action to the Disabled event of the Disable Rule Set action.
  7. Double-click the Enable Rule Set action and edit the action's parameters as follows:
    1. For the Environment parameter, in the Value column, in the list, select System.
    2. Click OK.
      The completed exception handler should look as follows:

 

  • No labels