Yay! You have done it. You have added a condition criterion to route the process flow for either an auto-approval or one-level approval. Now imagine what happens if you have multiple decision criteria in your process that are based on complex policies or rules.
In this lesson, you will create a decision to determine approvers who will be authorized to approve a sales order based on complex rules like sales order amount, or shipping country etc.
Including Policies and Business Rules in the Process
SAP Process Automation provides no-code Decision capability through which you can model and manage complex business logic in a well-formed structure that is easy to maintain. It helps businesses to segregate decision logic from application code to improve agility and empower business users to make changes in the decision without the need to consult IT expert or redevelop the application. It provides a no-code platform to easily develop and manage rules without the need to know any technical language.
A decision consists of one or more policies. Each policy consists of a collection of rules. These rules are used to automate the decision-making parts of a business process. After you create a decision (policy), you define your business logic by adding rules to the policy or policies.
There are two types of rules:
- Decision Table Rule: A decision table rule is a collection of input and output rule expressions in a tabular representation.
- Text Rule: A text rule is the collection of rule expressions in a simple if-then format.
Decision Diagram is a flow chart that describes the execution flow of the decision logic from the input to the output. Using a decision diagram, you can get a quick overview of the input, output, policies of a decision and the rules of the policies.
You can also access each component of a decision, like a policy or a rule, directly from the decision diagram.