cancel
Showing results for 
Search instead for 
Did you mean: 

Restriction based on Ticket Type & Business rule in SAP C4C Service

Former Member
0 Kudos

Hi Experts,

I have a requirement to restrict the user based on Ticket type and Business role

I have two Ticket type Complaint and Survey. The requirement is to let the user to view both Complaint and Survey but he can edit only Survey based on bossiness role.

It is type of Customer complaint.

I have try to restricted through code restriction but only achieve Complaint ticket type can't create by user . He is able to edit complaint ticket type.

Thanks

Pardeep

View Entire Topic
mohammed_fathelbab
Participant
0 Kudos

Hi Pardeep,

Which field have you created the rule on?

You can set the rule on the Ticket type. Highlight the Ticket type and choose the Validation icon.

Create new validation, and set what severity code will be triggered.

on the tab for editor, create new rule ID and description and put the below code :

AND( Root.ProcessingType == "your ticket type id" , MYUSERROLES() == "The role to be checked for Error")

ADMINISTRATOR here is my rule assigned to my user. you have to change to the rule id that needs to be checked.

on the last tab write the Error message to be displayed.

And here the error message.:

Please let me know if you face any issue with screenshot.

BR,

Mohamed