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: 
pvsbprasad
Active Contributor
SAP has recently introduced SAP Service Cloud V2, a cutting-edge service solution built on the SAP Business Technology Platform (BTP). This innovative offering is set to revolutionize the service industry by prioritizing customer service, ensuring swift connections, proposing rapid solutions, and featuring a modern, customizable interface.

With SAP Service Cloud Version 2, service agents gain easy access to customer information, enabling them to promptly address customer issues using collaboration tools and a comprehensive knowledge base. The platform’s extensive integration capabilities keep agents updated on the latest service requests, comments, discussions, and decisions online. Automatic task assignment in Service Cloud Version 2, based on relevant attributes, guides service agents through complex processes efficiently.

The extensibility of Service Cloud V2 allows partners to enhance the software platform without modifying the original codebase. This means additional functionalities and outputs can be incorporated, expanding the system’s capabilities.

Service Cloud V2 introduces the ability to create custom logic for automatic updates to fields based on specific conditions or to trigger error messages. Two types of custom logics are available: Determinations and Validations. Validations enable customers to generate error or warning messages in the system based on specific conditions, while Determinations allow customers to assign values to fields or update them under certain conditions. This flexibility empowers users to default, propose, or mandate specific values using determinations.

I am Working with Validations in the Service Cloud V2 Using Code Blocks

Creating a Validation:

Here, I am creating a determination which works with the Cases (tickets). The custom logic will work in such a way that if the ‘Subject’ =’Outage’ , then show error "Case cant be saved"

Step 1: A Validation 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


Step 2 :Please Search for “Case” in the Business Entities and click on Case. Navigate  to the “Validation” tab, which is the fourth tab, and click on it.


Step 3:Go to the Validation tab and click the Create icon (+). The system will launch the Validation editor tab.

please select using Code Blocks option




Step 4: The Toolbox Contains 2 Option

1.Condtion Block

2.Action Block




The toolbox offers a drag-and-drop feature, allowing the creation of rule-based structures.



Step 5:Here we are writing condition

if Subject Contains Outage then throw error as "Case cant be Saved"


Step 6:This will save and activate your validation .In the validation tab, the system lists all determinations for a specified entity. Click the Edit or Delete icons to edit or delete the corresponding validation .



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



In summary, we implemented custom logic using validation. When saving a case, an error is populated based on a condition: specifically, when the subject is equal to "Outage."
2 Comments