CRM and CX Blogs by Members
Find insights on SAP customer relationship management and customer experience products in blog posts from community members. Post your own perspective today!
cancel
Showing results for 
Search instead for 
Did you mean: 
Gayatri_Bagde
Active Participant
0 Kudos

SAP Service Cloud version 2 provides capability to implement the custom logics using determination and validation. Using determination, we can update the fields, whereas using validation, we can raise an error message in Service Cloud v2. In this blog series, I will demonstrate how to use this capability to fulfill the business requirements.

Please refer to my previous blog for determination in Service Cloud V2- here.

This blog focuses on Validation in SAP Service Cloud v2.

  • Validations in SAP Service Cloud v2

Let’s consider an example that if the case is escalated , message should be shown to the user as “Your case is escalated”.

To create Validation, navigate to user profile -> Click on Settings

Step 1.png

In the next screen, search for the object “Case” and follow the sequence as mentioned in below screenshot to create Validation

Step 2.png

There are 2 ways by which we can create Validations – Using forms and using Code blocks.

  1. Using Forms:

Once you select, “Using Forms” option, it will open the below screen. Specify the name for the validation and condition. As per the below condition, validation will be executed only when “escalationStatus” is “ESCALATED”

Select Action as “Show Warning” and enter the text for the message as highlighted below.

Step 3.png

Click on “Save and Activate”

To test the validation, open any Case and click on “Escalate”

Step 4.png

Message is displayed on the screen

Step 5.png2. Validations using Code blocks:

If you want to create validation using code blocks, make a selection as highlighted below:

Step 6.png

Fill in the information as below:

Step 7.png

The editor shows 2 blocks : Condition Block and Action Block. Drag and drop the controls on the editor to form a rule

Step 8.png

Form the rule as below:

Step 9.png

Click on Save and Activate

To test the validation, open any ticket and click on “Escalate”

Step 10.png

It displays the message

Step 11.png

In this way, with a simple configuration, you can display messages in SAP Service Cloud version 2.

Thanks,

Gayatri

1 Comment