Skip to main content
This content is now archived and is no longer updated. Progress is not calculated. Pega Cloud instances are disabled, and badges are no longer awarded. Click here to continue your progress in the latest version.

Adding a validation rule to a flow action

Pega Community logo

Note: The following content, referenced from Pega Community, is included here to help you better achieve the module learning objectives.

Ensure that the data that your users provide meets the conditions that a case requires in order to go forward. By assigning validation rules to flow actions, you can prevent users from entering information that your application cannot process, and reduce the number of processing errors.

For example, a loan application might require the customer to provide a down payment. You create a validate rule that checks whether the down payment is sufficient. Next, you assign the rule to a flow action that executes at the end of the step in which the customer provides loan information. If the amount of the down payment is too low, the validate rule prevents the case from proceeding until the customer increases the down payment.
Before you begin: Create a validation rule. For more information, see Validating field input in complex scenarios.
  1. In the navigation pane of App Studio, click Case types, and then click the case type that you want to open.

  2. On the Workflow tab, hover over the name of the process to which you want to add a validation rule, and then click Configure process icon.

  3. In the top right corner of the screen, click Open process.

  4. On the canvas, right-click the connector to which you want to add the validation rule, and then click Open Flow Action.

  5. In the flow action rule, open the Validation tab.

  6. In the Validate field, select the validation rule that you want to assign to the connector.

  7. Click Save.

This Topic is available in the following Module:

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice