Create a Decision
Create decisions to add them to your process.
Prerequisites
You have created the data types required to configure the input and output of the decision. See Create a Data Type.
Context
A decision consists of a collection of rules, which are used to digitize and automate the business decisions within a business process. After you create a decision, you can define your business logic by adding rules to it. There are two types of rules:
-
Decision table: A decision table is a collection of input and output rule expressions in a tabular representation. Multiple rule conditions and results can be configured using a decision table.
-
Text Rule: A text rule is the collection of rule expressions in a simple if-then format.
Decision Diagram is a graphical representation of the decision logic from the input to the output. Using a decision diagram, you can view the inputs/output of a decision and the rules of the decision. You can also click on each component of the decision diagram, for example, a text rule or a decision table, to view the configured details on the right panel.
Vocabulary includes input/output parameters and decision variables. This vocabulary can be used to configure the conditions and results when modelling a rule.
-
Both text rules and decision tables can serve as reusable rules.
-
The result returned by the reusable rule, which can only be executed within another rule, can be consumed in a rule expression.
-
When configuring conditions and results in the wizard, reusable rules will be displayed under Vocabulary, allowing you to incorporate them into rule expressions.
-
A text rule with execute operations cannot be used as reusable rule.
To designate a rule as a reusable rule while modelling a decision, simply select the Rule Category as Reusable Rule from the dropdown in the Create Rule screen of the wizard. The rule will then be listed under Reusable Rules in the Rules tab.
Procedure
- In the Overview tab of your business process project, choose .
- Provide a Name, Identifier, and optionally a Description.
- Choose Create.
- To configure the inputs and output of the decision, do the following:
Create an API Trigger
Create an API trigger for a decision to execute it in a shared environment.
Prerequisites
Context
Procedure
Add Rules to a Decision
Add Variables to a Decision(Optional)
Add variables to a decision to store information of one rule execution and reuse it in another rule.
Context
The scope of these variables are only within the particular decision to which these are being added and are not available elsewhere in the process.
Procedure
Use Generative AI in a Decision
You can use Artificial Intelligence (AI) to summarize existing decisions and simplify the process of creating rules through natural language description. This makes the process easier and more efficient than using the decision editor alone.
Prerequisites
-
You have enabled generative AI for your tenant and have accepted the terms and conditions. For more information, see Generative AI.
-
You must have one of the following roles to use generative AI:
-
ProcessAutomationAdmin
-
ProcessAutomationDeveloper
-
ProcessAutomationDelegate
-
-
You must have created at least one decision to use the Explain this Decision feature.
-
You must have added at least one input and output parameter to use the Generate Rule feature.
Procedure
Choose Generate on your decision editor.
-
Explain this Decision
To get the summary of a decision, choose Explain this Decision.
-
Generate Rule
To generate business rules, choose Generate Rule. Describe your requirement in the prompt editor by including only the input and output parameters specifically added for this decision, using not more than 1000 characters.
NoteIf there are any gaps in your AI generated rule, choose Fix Gaps.

