Input Validation Logic

◷ Reading Time: 3 minutes

What is Input Validation Logic?

This type of logic is used when Constraints (also called “action assertions”) are going to be validated. This model simplifies and centralizes the validation process of logic, data or process in a declarative way. It can be used in all layers of the application (i.e., both server and client sides). It also provides notifications to give feedback as to what has gone wrong if the logic, data or process has not passed the validation logic. The rule logic can be extended using custom commands. Also, it allows the definition of rules that receive input parameters.

It uses an XML-based language to define the logic to be validated.

To add a new Decision Requirement Diagram document,

Document Types --> Decision Logic --> Input Validation Logic

Once you add a document, this will be the window.

Input Validation Logic Properties

  1. Resources: List of resources to reference
  2. id: Id of the validation
  3. Name: Validation logic name
  4. Is Negative: Negative rule logic
  5. Tag: A tag attached to this rule. This tag will be sent to the notification center
  6. Notice Event: Notice an event to write notification
  7. Notice Type: Notice type of rule when it is failed (Information/ Warning/ Error/ Fatal)
  8. Message: This message will be sent to the notification center
  9. Message Id: This message id refers to the key in a referenced resource
  10. Message Formatter: Formatter of the message by passing some parameters
  11. Enabled: Is the validation rule enabled otherwise the engine will throw an exception
  12. Use Agenda: DOes validation pushes the consequences (actions) to Agenda? If so true, otherwise false.
  13. Aliases Collection: List of aliases of the validation rule
  14. Variable Definition: List of input and output parameters
  15. Types Definition: List of Types and Functions


The toolbox has the following items.

Complete list of commands

Check the Validation Commands for the complete list.

Top Menu

At the top menu, you can see the following items.

  1. Move down the selected node: Move a node
  2. Move up the selected node: Move a node up
  3. Delete selected node: Delete a node
  4. Show properties of node: Show properties of a node
  5. Expand tree: Show more of a tree node
  6. Collapse tree: Show less of a tree node

Node Properties

If you click on a node, its property window will appear. The properties vary depending on the node type.

Sample Input Validation Logic

Download the sample input validation logic file ( using the attachment.

Updated on December 19, 2019

Article Attachments

Was this article helpful?

Related Articles