Skip to main content

required-custom-rule-verification-method-arguments

Overview

This rule belongs to the custom-ruleset-validation ruleset and states that:

The method that needs to be applied on the target entity as part of the custom validation, specified using VerificationMethod, may require one or more arguments that need to be provided alongside the rule definition using the VerificationMethodArgs property. For such methods, the VerificationMethodArgs property must be set and required arguments must be provided as key-value pairs.

PropertyValue
EnabledYes
Maximum SeverityError
MessageOne or more required arguments for rule verification method are missing.
CodeCUSTOMRULESET_V106
TypeValidation
Rule SystemSemantic
Broad CategoryCustom Rules
Tagscustom ruleset semantic validation argument method verification rule

Suggested Fixes

  • Make sure that you have added the VerificationMethodArgs property in the rule definition object.
  • Ensure that the value of property VerificationMethodArgs is not null.
  • Name of property VerificationMethodArgs is compared in a case-sensitive manner.
  • Ensure that the missing arguments are added in the VerificationMethodArgs map as key-value pairs.
  • Add an entry for the missing argument as a key-value pair where the key represents the name of the argument (compared in a case-sensitive manner). The type of the argument value may vary.

For More Information