Format for Validation Rule N User Property in LS Pharma Validation Service

Each Validation Rule can have a maximum of 5 components, where the rule name is mandatory. A description of each component in the Validation Rule follows:

  • Rule Name. Rule Names, which are mandatory, are defined in the List of Values. The LOV type is LS_VALIDATION_RULE_NAME.

  • Number indicating when to apply the rule. The number indicates when to process the rule, and depends on the Call Status as follows:

    • If the value is 1, then the rule is evaluated if the call is not signed (that is, for electronic signatures).

    • If the value is 2, then the rule is evaluated for Paper Signed calls upon call submit.

    • If the value is 4, then the rule is evaluated for Electronically Signed calls upon call submit.

    • If the value is 6, then the rule is evaluated for both Paper and Electronically Signed calls upon call submit.

    • If the value is 7, then the rule is evaluated whenever call validation is carried out.

  • Method Name. The name of the method that is called to validate the rule. Each rule that is supported by default has an associated method. If customers want to override the existing validation rule or create a new rule, then they can do so. If overriding the existing rule, then the method name must be changed to a different value. Customers can choose to leave the method name blank or they can enter a different value for the method name. If a new rule is created, then a new user property must be defined according to the rule format.

  • Type of failure message.The type of the message that must be logged when the validation rule fails. This can be an ERROR or a WARNING. If the validation is successful, then a message of type SUCCESS is logged. If the rule does not apply to the current call, then a message of type IGNORE is logged.

  • Type of Call. The type of the call to which the rule applies:

    • If the value is 1, then the rule applies to Contact Calls.

    • If the value is 2, then the rule applies to Attendee Calls.

    • If the value is 4, then the rule applies to Account Calls.

    • If the value is 3, then the rule applies to Contact and Attendee Calls.

    • If the value is 5, then the rule applies to Contact and Account Calls.

    • If the value is 6, then the rule applies to Attendee and Account Calls.

    • If the value is 7, then the rule applies to Contact, Attendee, and Account Calls.