Node Validation

Introduction

Functions

Node validations means 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.

Application Scenarios

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.

Preview

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

Setting Procedure

Where to Set

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

Then click Workflow and select a node to add a validation condition.

Setting Condition

Set the formula:

1 SUM(Qther details.Quantity)>10

Note: Qther details.Quantity does not need to be input manually and can be selected from the fields below. Click the field directly in the formula to complete it.

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.

Demonstration

1. On PC

When the input Qther details.Quantity is less than ten, the workflow will not be submitted and will display the prompt.

2. On mobile

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 are 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 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.

Was this information helpful?
Yes
NoNo
Need more help? Contact support