Skip to Content
Product Information
Author's profile photo Aditya Balapure

Working with Determination in the Service Cloud V2

Objective: Creating a custom logic using Determination.

SAP recently announced a new service solution called SAP Service Cloud V2. The new SAP Service Cloud that uses sap business technology platform (BTP) revolutionizes the service industry with a focus on customer service, providing meaningful connections with speed of service, proposing quick solutions and with a modern and customizable interface.

With SAP Service Cloud Version 2, the service agents have customer information at their fingertips. Using the collaboration tools and knowledge base, the agents can quickly address customer issues. With vast integration capabilities, the agents can stay up to date on the latest service requests, comments, discussions, and decisions online. Service Cloud Version 2 automatically assigns tasks to a case based on the relevant attributes to help and guide service agents through complex processes. Extensibility allows partners to extend the software platform without having to modify the original codebase. As a result, you can add to the base functionality of the system, thereby offering new capabilities and outputs.

In the Service Cloud V2, we can create custom logic to automatically update some fields based on certain conditions or to raise errors. Custom logics can be of two types – Determinations and Validations. Using Validations, the customer can raise an error or warning message in the system using certain conditions. Whereas using Determinations, the customer can assign certain value to a field or update a field based on certain conditions. Using determinations, customer can either default or propose the value or mandate a certain value.

Creating a determination:

          Here, I am creating a determination which works with the Cases (tickets). The custom logic will work in such a way that if the ‘caseType’ of the case is ‘Request Product Repair’ and its ‘origin’ is ‘Email’, then the ‘Priority’ of the case should change to ‘Immediate’ automatically.

1. A determination can be created in “Extensibility Admin”. To navigate to determination-

Click on your user profile -> select settings (all the settings are listed here) -> search Extensibility (Extensibility Administration comes under a group called Extensibility) -> click on Extensibility Administration. These steps will land you on this page-

The page displays a list of all business entities in the left panel. These entities are grouped by services.

2. Click on a service and it displays all the available entities.

Here, we are selecting the entity ‘case’ under ‘case service’, where we want to determine the priority of a case using determination. Once you click on the entity, 4 tabs appear on the left side of the screen – custom fields, field attributes, validations and determinations.

3. Go to the Determinations tab and click the Create Determination icon (+). The system will launch the determination editor tab.

The editor has three main blocks:

Header: Specify the determination name, event, and description here.

Condition: Set the desired conditions using a flow-based visual condition editor.

 Assignment: Assign a value to specific fields.

4. In the header block, enter the name of the determination.

Entity is pre-selected. And then choose the event. There are 2 types of events:

  • Pre Hook: You can use it to default or suggest standard and custom field values. The user can change the field values. Where both standard fields and extension fields can be modified.
  • Post Hook: It can only be used to update or mandate the custom field values. The user cannot overwrite the field values.

Finally, add the description:

5. In the condition box, set the desired condition.

We can add multiple conditions by clicking the Add Condition icon (+). To remove a condition, click the Remove Condition (x). To clear all conditions in a block, click the Delete Condition Block icon. Under the Summary header, the system shows you a summary of all the conditions that you’ve entered.

6. In the assignment block, we can assign certain values to a field.

For e.g., in this case, if the ‘caseType’ is ‘Request Product Repair’ and the ‘origin’ is ‘Email’, we want to change the ‘Priority’ of the case to ‘Immediate’.

To write an expression, Mention the target field first, followed by “=” and then specify the expression. For example, {priority} = (‘Immediate’).

7. Click on Save and Activate

This will save and activate your determination.

In the Determinations tab, the system lists all determinations for a specified entity. Click the Edit or Delete icons to edit or delete the corresponding determination.

You can check if the logic is working in the cases.


To summarize, using determinations to build custom logic is a simple task which can be used to mandate field updates using certain conditions. In the example above, I created a simple determination where I say if the type of the ticket/case is Request Product Repair and the origin is Email, make the Priority as immediate.

If you like the blog, I would like to request you to share feedback or thoughts in a comment, like and follow my profile for future posts.  If you have any question regarding SAP C4C (Sales or Service) or the new Service Cloud V2, you can ask it in the comments.


Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Gabriel Biacotti de Matos
      Gabriel Biacotti de Matos

      Hello @Aditya Balapure

      As I'm working with SAP Service Cloud Version 2, I have a question regards Case Types in which

      you might be able to help. Please find my question here:

      SAP Service Cloud - Version 2 - How to create Case Types | SAP Community


      Please note there's not a single Case created in my tenant and, since Case Type is set to

      mandatory, I'm not able to create a Case.


      Let me know if you can help - thank you in advance.


      EDIT: I was able to find the root cause of the issue and no longer have the doubt.