Administration Guide

Adding On Deleted Triggers

To create a Trigger that fires when an object is deleted, follow the steps below.

INFO: For information on Triggers, see Triggers.

  1. From the Sidebar, navigate to Workflow and Business Logic > [Module] > [Object Class] > Workflow > Actions > Triggers > On Deleted.
  2. Click New. The Trigger on Delete [ID] dialog box opens.

    NOTE: Note the unique auto-generated ID value. You can use this ID to quickly access the corresponding Trigger. For details, see Accessing Workflow Items or Components by ID.

  3. On the General tab, specify the following properties of the Trigger:
    1. Type the Trigger name in the Name field.
    2. Optional: Enter the description in the Description field.

      NOTE: Keep the Enabled check box selected. Otherwise, this Trigger will not fire.

  4. If you want the Trigger to fire only when a certain condition occurs, click the Condition tab and specify the Trigger condition:

    Click Edit and configure conditions in the Criteria dialog box.

    INFO: For details, see Building Criteria.

  5. Click the Programming tab and specify the operations to execute directly within the Trigger or select an existing Function.
    1. Under Operations, click New > [Operation] and specify the operation details.

      INFO: For details, see Adding Operations.

      Repeat this step to add other operations as needed.

    2. By default, all operations are executed unconditionally. If needed, you can enclose your operations in conditional blocks.

      INFO: For details, see Building Conditional Statements.

  6. If you want to categorize the Trigger by assigning it to one or more Processes, click the Processes tab and follow the instructions on assigning Triggers to Processes.

    INFO: For instructions, see Assigning Workflow Items to Processes.

    IMPORTANT: Any workflow operation within a Function, Action, or Trigger can be enabled or disabled. Only enabled operations will be executed. For details, see Disabling and Enabling Operations.

  7. When done, click OK.