Skip to main content

Node Validation

Introduce how to set node validation.

Updated over a week ago

What is Node Validation?

Node validations mean the submission of workflow nodes needs to meet certain conditions.

Validations on submission support the following two types:

  • All data: All data is set by default for all workflows. If you do not set the submission condition to limit the workflow node, you can also set All data.

  • Data meeting conditions: You can set the submission condition. If the workflow data does not meet the condition, it cannot be submitted.

For purchasing applications, only when the purchasing quantity is greater than a certain amount can the workflow be submitted. Otherwise, the workflow is not allowed to submit.


What Does It Look Like?

When the validation condition is not met, the workflow will not flow to the next node.

On PC

When inputing Order details, if the quantity is less than ten, the workflow will not be submitted and will display the prompt.

On mobile


How to Set the Node Validation

Step 1 Entering the Setting Page

Take workflow node validations of Purchasing Applications as an example, and click Edit to design the form.

Switch to the Workflow settings page, select the node you want to configure, and set the What to Be Submitted under Node Properties >> Rules.

Step 2 Setting Condition

When What to Be Submitted is set to Data meeting conditions, you need to configure submission validation rules. Click Add Condition, set the prompt message to display when the conditions are not met, and then define the validation formula as needed.

For example, set the formula: SUM(Order details.Quantity)>10

You can insert fields into a formula in the following two ways:

  • Select from the field list: Click a field in the field list at the lower-left corner to add it to the formula.

  • Copy and paste: Click Copy in the upper-right corner and paste it into the formula editor.

Formulas can be copied and reused across the following scenarios:

  • Form field formulas

  • Form submission validation

  • Form batch editing

  • Workflow submission validation

  • Dashboard calculated fields

  • Data Factory calculated fields

  • Aggregate table metrics

  • Aggregate table submission validation

Notes:

  1. Only fields pasted using Copy are supported. Fields entered manually by name or pasted from other locations are not supported.

  2. In Safari and UC Browser, right-click actions and keyboard shortcuts for copying or cutting formulas are not supported at this time.

After setting the formula, input the appropriate prompt message according to the formula condition and click OK to add node validations.

Click Save and return to the app.


Node Validation Rules

1. All data is that you do not set the validation condition, and the data can directly flow to the next node.

2. Data meeting conditions is that the data can only be submitted and flow to the next node if the validation condition is met.

The validation condition can be an equation or an inequality. The arithmetic operators support additions (+), subtractions (-), multiplications (*), divisions (/), and brackets (), and the formula can use the fields in the field column below. For each validation rule, you can set a prompt message. The method to set the formula of node validations is the same as that of form validations.

3. The validation condition is triggered only when you click Submit. The validation condition is not triggered by Return, Stash, Transfer, and End.

4. Node validations only determine whether the data is allowed to be submitted or not, and they are independent of which node the data is submitted to below. If the data should flow to the corresponding node according to different conditions, you should set a conditional workflow.

5. When the flow is enabled, form validations on submission are disabled, and only the workflow node validations are followed.


I have finished reading. 🏆

👉I can't wait to BATCH SUBMIT.

👉I need more HELP in Discord Forum.

Did this answer your question?