Was this helpful?
Validator Step
Validator steps allow you to validate a document against a supplied schema. These steps check data at a structural level, such as the loop repeat count, segment information, minimum and maximum field length, and field values. The validators do not provide conditional validation or validate the data itself.
Before creating a process using the Execute action, create and initialize a DJMessage process variable. Load the file to validate into the body of the new DJMessage. See DJMessage Object Type for more information.
To add a Validator step:
1. Drag and drop a Validator step from the Palette to the canvas.
2. Double-click the step on the canvas to open the Step Properties tab.
3. Type a unique name for the step.
4. Create an instance of this component in one of the following ways:
By clicking the Select Validator dropdown and then selecting Add a New Validator.
From the Configuration tab > Message Components section.
5. Specify the step properties.
For more information, see Adding Steps.
Validator Step Properties
Setting
Description
Name
Unique name for the step.
Description
(Optional) Description for the step.
Enabled
Select this option to enable the step for execution. If it is not enabled, then the step on the canvas is greyed-out.
This option is useful when troubleshooting a process, especially when there are numerous steps in the process.
Error Handling
Select any of the following:
Stop Process - (Default) All the steps after the current step are skipped or the entire process is stopped (depending on how you have the error logging options set) if this step stops due to an error.
Ignore Error - The remaining steps in this process are executed even if this step stops due to an error. This is useful when you want to write a Decision step that can test for the error state of a previous step.
Select Validator
Select a Validator instance. These instances are displayed when you add a Validator message component in the Configuration tab. For more information, see Adding Message Components in Configuring Processes.
Action
Select the action for the Validator instance.
Parameters
Parameters for the selected action. Specify the values for the parameters.
Properties
Properties for the selected action. Specify the values for the properties.
Note:  The Actions, Parameters, and Properties are specific to the component type. For information about this, based on the component instance selected in the Select Validator drop-down list, see the component type in Validator Step Components.
Validator Step Components
Last modified date: 12/03/2024