Business rule actions

In the default configuration, the IBizRulesPlugin implementation class contains an AddUWIssueRuleAction action:

override property get RuleActions(): Set<IRuleAction> {
  return {new AddUWIssueRuleAction()}
}

Whenever PolicyCenter executes a rule, it evaluates the rule condition against a PolicyPeriod object. If the condition meets the specified criteria, PolicyCenter calls the execute method on gw.bizrules.provisioning.AddUWIssueRuleAction to create an underwriting issue. This is the main functionality of this class. The CommandParameterDefinitions property in that class contains parameters needed during execution.

Modifying an existing action

The default implementation class for the IBizRulesPlugin plugin contains the following AddUWIssueRuleAction action:
override property get RuleActions(): Set<IRuleAction> {  
  return { newAddUWIssueRuleAction() }
}
If you want to modify the base configuration AddUWIssueRuleAction action to provide different functionality, then you need to modify the execute method of class AddUWIssueRuleAction to provide your own code.
override function execute(command: IRuleCommand) {  
  //add your code here
}