Automatic refactoring

Tech preview When automatic refactoring is enabled, common updates are automatically propagated to other decision artifacts.

About this task

With automatic refactoring on:
  • Decision diagrams, business rules, and decision tables are refactored when:
    • A data type is renamed.
    • A composite type attribute is renamed.
    • An enumeration value is renamed.
    • The verbalization of a composite type or an attribute is updated.
  • Business rules and decision tables are refactored when:
    • The gender of an attribute is updated.
    • The verbalization of a variable is updated.
  • Data sets in the Run tab are refactored when changes are made to the data model, such as renaming an existing data type.
  • JSON names are refactored when you set an attribute as a list.
  • Group IDs and package names are refactored when the group ID or name of a decision service is updated.

Automatic refactoring needs to be manually enabled for each decision service.

Procedure

To enable automatic refactoring in a decision service:

  1. Open the Decision services tab on your decision automation page in Decision Designer.
  2. Click the overflow menu overflow menu for your decision service, and select Edit settings. Alternatively, open your decision service, and then click the Decision service settings icon Decision service settings.
  3. Enable Automatic refactoring (technical preview) from the options in the window.
  4. Click Save.