Rule creation in Dev Studio
If you need more control over how a rule is created and reused, you can create the rule in Dev Studio. When you create a rule in Dev Studio, the New Record form prompts you to provide four pieces of information: rule type, identifier, class, and ruleset. This information is used to identify the rule uniquely within your application. This combination allows an application to call the correct rule during case processing, through a process called rule resolution. With rule resolution, Pega Platform™ determines the appropriate rule to run when an application calls a rule.
In the following image, click the + icons to learn more about the flow record configuration sections.
Different methods of rule creation in Dev Studio
You can access the New Record form in several ways based on how you create a new rule. The manner of rule creation determines the amount of information that is automatically entered. The following table describes some rule creation methods.
|Method||Information specified on the New Record form|
|Create rule from the Create menu||For example, if you create an SLA rule in this manner, the rule type, application, and ruleset context are specified by default.|
|Create rule from the App Explorer||For example, if you create an SLA rule in this manner, the rule type, application, ruleset context, and Apply to class are specified by default.|
|Open existing rule and Save as||For example, if you create an SLA rule in this manner, the rule type, application, ruleset context, Apply to class, identifier, and SLA definition are specified by default.|
In the center of the following image, click the vertical line to compare the SLA rule created from the Create menu and the SLA rule created from the App Explorer.