
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.
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
In the next screen, search for the object “Case” and follow the sequence as mentioned in below screenshot to create Validation
There are 2 ways by which we can create Validations – Using forms and using Code blocks.
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.
Click on “Save and Activate”
To test the validation, open any Case and click on “Escalate”
Message is displayed on the screen
2. Validations using Code blocks:
If you want to create validation using code blocks, make a selection as highlighted below:
Fill in the information as below:
The editor shows 2 blocks : Condition Block and Action Block. Drag and drop the controls on the editor to form a rule
Form the rule as below:
Click on Save and Activate
To test the validation, open any ticket and click on “Escalate”
It displays the message
In this way, with a simple configuration, you can display messages in SAP Service Cloud version 2.
Thanks,
Gayatri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.