Creating rules
Rules define the business logic of your Digital Service applications. You can create rules to interact with a process, send notifications, integrate your application with third party systems, and so on.
Before you begin
Before you create rules, ensure that you have created a project and deployed it in BMC Helix Innovation Studio. For more information, see Creating-a-Project-using-Maven-and-the-Archetype.
To create a rule
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application in which you want to create a rule.
- In the application, click the Rules tab and, then click New.
The Trigger element appears on the canvas by default. In the Properties pane, on the General tab, enter the values for the following rule parameters.
Name
Description
GENERAL
Name
Name of the rule.
Description
Description of the rule that helps you understand the purpose of the rule.
Scope/Customization Options
Option to define the scope for a rule definition. This option further contains the following options:
- Application/Library (default)—To limit the use of the definition within the same application or library.
- Public—To enable the definition to be used by all the applications or library and allow customizations for this definition.
Enabled
Select to enable the rule.
RECORD DEFINITIONS
Add/Remove Record Definitions
Specify the record definitions to which the rule applies.
Note: The Application/Library scoped definitions are marked with an asterisk ( * ). Ensure that you follow the guidelines listed in Object-definition-scope before you select these definitions.- From the Palette, drag and drop the elements to the canvas in the order that you want them in the rule. For information on elements, see Rule-designer-elements.
- Enter the values for the properties of the Trigger element and all the elements that you add to the rule.
- Click Save.
Related topic