Best practice for Parameter Validation

Hello, is there a best practice example for parameter validation? I have several modules in my project (see picture) with different parameters. These are to be called when a certain input parameter has a certain value. Can i use parameter validation for this? Do you have an example for the using Validation? Thanks in Advance.

Parameter validation rules are checked before module execution started.

The rules are a set of conditions that are executed one by one, similarly to the “Rule” action.

The condition in a validation rule must have at least one reference to the parameter it validates. References to other parameters are allowed too.

The best practice is to make the first rule a value type checker, so that you don’t have to check the value type in consequent rules.

Here is an example: