Validation Rule

Parameters

integration

relationship - required

servicerequest

relationship - required

sequence

integer - required

type

string - required

  • INPUT: applies on the input payload received by the integration

  • RESPONSE: applies to payload received from adapter

  • REQUEST: applies to payload sent to adapter

field

boolean - required

default: True Validation rule is assesed on the boolean value returned from field.

rule

code - required

apply_if

boolean - optional

default: True. Will only apply the validation rule if these resolves to True.

apply_to_each

iterable - required

abort_on_failure

boolean - required

valuemappingset

relationship - optional

valuemappingset_side

string - optional

max_length

message_substitution_name

Validation Rule Hooks

These are code blocks that are run during processes of the validation rule. See the Integration Life Cycle Diagram for timing of the hooks.

  • pass_hook

  • fail_hook

Last updated