Defining rules to create records

You can define a rule that creates a record automatically and you can link the new record to the original record on which the rule is acting.

For example, if the rule is acting on a Master Ticket and two subtask tickets will be created, you can select whether to create a new Master Ticket plus the subtask tickets or create only the two subtask tickets and link them to the original Master Ticket.


If you plan to use Quick Ticket templates with this rule, make sure to create them before proceeding. For more information, see Creating and managing Quick Templates.

To define a rule that creates a record

  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 details 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.
  6. (Optional) In the State field, select Not active if this rule is not ready for use.
    You can also deactivate a rule temporarily and return to this page to activate it again. The Business Rule Type field is read-only.
  7. In the Business Rule Schedule field, accept the default of Run Any Time or select from custom schedules defined for this container.
  8. In the Triggers section, define the action or event that should trigger this rule.
    For more information, see Selecting triggers for business rules.
  9. In the Criteria section, define the condition that will trigger this rule.
    For more information, see Defining criteria for business rules.
  10. In the Actions section:
    1. Click Add new action.
    2. In the Action field, select Create New Record.
    3. (Optional) Create a linked record:
      1. Select Create and link.
      2. Select a relationship such as Ticket/CI: CI or Master/Subtask: Subtask.
        For more information, see Defining actions for business rules.
    4. In the Record Type fields, select a container and an item type.
      The options in this list are determined by the selections you made earlier. Only published containers are listed.
    5. (Optional) In the Quick Template field, select a template to use for the new record.
      If you do not select a quick template, the current record is copied into the new record. If you did not select to link the new record but the template you selected includes linked fields, a message appears with two new options. Select whether to link to the original record or to the new record being created.
    6. Click Create.
  11. Click Save.
  12. 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