Skip to main content
Skip table of contents

Condition

The Condition Pre-processor is used when you want to conditionally skip the execution of a subsequent pre-processors.

The Condition screen is shown below:

image-20260127-000117.png

The cascade option provides the ability for a diverged output process to resume the original execution path.

image-20260127-043218.png

Comparing execution path of “no cascade” versus “cascade”.

Stage Settings

image-20260127-000502.png

Condition Operator

image-20260127-020339.png

Choose from one of AND or OR (usually defaults to AND).

Only relevant if more than one Condition has been configured.

This option allows multiple single conditions to be chained together to build a complex chain of AND’ed or OR’ed conditions.

Conditions

Press the + Button image-20260127-021148.png to add a new condition.

image-20260127-021253.png

Then enter or select values for these 3 fields below:

Input Placeholder

Use the placeholder creator builder to create a placeholder value in this field. Will usually contain the a metadata placeholder eg {{metadata[“first_name“]}}

Operator

Choose an operator from this list below.

The operator defines the type of comparison being made between the Input Placeholder value and the Target Placeholder value.

image-20260127-021516.png

Target Placeholder

A static value or metadata placeholder is specified for the input value to be compared against.

Press the Apply button image-20260114-021549.png to save the pre-processor settings

Example

An example of a condition that would diverge when the invoice total field is greater than 2000

Saving the RIA Page

Press the Save Button image-20260114-021648.png to save the RIA page changes.

Testing the Pre-Processor

  1. Make sure its enabled.

  2. Run an input document through the queue.

  3. Use View history button the RIA App Page to look at the pre-processor stages to see whether the the pre-processor ‘Condition(s)’ were evaluated as being True or False.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.