Defining rules to delete records

You can create rules to delete records that meet certain criteria. For example, users could be instructed to insert "DELETE" into the Title field of tickets that should be deleted. A rule can be defined using the Delete Item action to remove those records when they are saved or updated.

To define a rule for deleting records

  1. Open the item where you want to define the rule:
    1. Click the Administration tab.
    2. In the appropriate section, click the name of the container or click Manage to open the container Administration page, Then double-click the container.
      The container Administration page appears.
    3. In the left pane, click the item link (such as Record Definitions in workspaces).
      The Items page appears.
    4. Double-click the item that you want to modify.
      The Item details page appears.
  2. In the left pane, click Business Rules.
  3. Click New Business Rule and select the appropriate rule type.
    The Rule Builder page appears. For detailed information about configuring different types of rules, see Types of business rules.
  4. In the Business Rule Name field, enter a descriptive name for this rule.
  5. (Optional) In the Description field, type a useful description for this field.
  6. In the Business Rule Schedule field, accept the default of Run any time or select from the custom schedules defined for this container.
  7. In the Triggers section, select a trigger and configure the details.
  8. In the Criteria section, enter values to identify the item that you want to delete (such as Title fields that contain "DELETE"), and click Create.
  9. In the Actions section:
    1. Click Add new action.
    2. In the Action field, select Delete Item.
    3. Click Create.
  10. Click Save.
  11. Publish the container to implement your changes:

    1. In the breadcrumb trail, click the container link.

    2. Click Save and Publish.
      A confirmation message appears.

    3. Click Yes.
      The Publication Succeeded message appears, showing the number of errors and warnings.

Related topics

Configuring business rules

Managing business rules

Deleting business rules

Was this page helpful? Yes No Submitting... Thank you

Comments