Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert
Decision capability of SAP Build Process Automation provide options to build business rules which can be consumed (a) directly in external application or (b) inside process or automations. These decisions once created, can be reused across different solutions. For example, a decision created for standalone consumption can also be used in the process or vice-versa.

Using decision is relatively made simple with 5 key steps:Let us now understand each step in bit more details:

Create Business Project and Decision

Before creating any artefact, you have to create business project. Business project bundles all the artefacts of a particular use case or scenario. You can create the Business Process project from the Lobby of SAP Build Process Automation design studio.

» Note: if you want to create only decision, then cancel the pop-up that comes to create business process (which asks for the project name and description)

  • From the Overview page, click to create Decision.


Model and Configure your Decision aka Business Rules

Once the decision is created, it will directly open the decision editor where you can define input and output parameters, add rules, and model these rules with with expressions.

» Note: If you have any validation errors while modelling, it will appear in the Design Console (at the bottom of the editor).

In this blog, I will not cover details about designing of the business rules. You can follow the tutorial ( from Step 2)  or SAP Help Portal to try it out yourself.

There are multiple features available while modelling business rules like orchestration of decisions, reusable rules that can be used as formula or function, local variables which are created and consumed inside decisions only. (we will cover them in detail in subsequent blogs)


Release and Deploy

These are two mandatory lifecycle operations for any SAP Build Process Automation artefacts.

  • Release will create a new version of the project which locks the state of the artefacts inside the project. Version has {major}.{minor}.{patch} format.

  • Deploy will push the versioned project into the runtime repository after which it can be consumed from different applications and processes. Only deployed decisions are consumable.

Some points to note:

  • Any number of versions can be created.

  • Any deployed or released version can be viewed by simply clicking the respective version from “Editable” dropdown (as shown in the screenshot below)

  • The current version can be reverted to any lowest deployed version in the same major version. This will over-write the latest editable / versioned copy of the business rules. For example: If you have 1.0.0, 1.0.1, 2.0.0, 2.0.2 versions then 2.0.2 can be reverted only until 2.0.0.

Consume Decision

Once you have deployed decision, it can be consume from the process or applications.

  • If you want to consume decision independently in any application, be it in SAP or non-SAP, cloud or on-premises, then you can do so with the RESTful Decision API.

You can use the Decision API to invoke the decision. The required decision ID can be picked from the deployed version information (as shown in the screenshot below).

» Note: If you do not specify any version then the latest deployed version will be automatically invoked, but if you want to invoke explicit version then use the version information.

  • We have simplified the use of decision across any process automation artefact like process, automation, or forms.  With this integrated experience, users can easily build and consume business rules in the process without the need to worry about cumbersome data type manipulation or API calls or managing the output.

To consume decision in process, all you need is to (a) create a process in the same business project and add the rule, (b) map the decision input with the actual process context data.


This gives you a quick overview of how Decisions aka Business Rules can be development, deployed and consumed in applications. We have learning journey, missions and multiple tutorials on SAP Build Process Automation which uses decisions. You can learn more about our product from the links below: