Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
How to remove the value Response from the Messages sub tab in the service request screen for certain — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to remove the value Response from the Messages sub tab in the service request screen for certain

Accepted answer
26
Views
3
Comments
edited Mar 14, 2019 8:59AM in B2B Service 3 comments

Summary

Removing the value Response from the Messages sub tab for certain users

Content

Hello experts,

I need to figure out a way to remove the value Response from the Messages sub tab in the service request screen for certain users. I copied a custom role (Customer Service Representative) and removed the Compose Message privilege then I associated the custom role with a custom user and in the Server Scripts under Application Composer > Standard Objects > Service Requests > Messages > Server Scripts I added the below script but the result is that the message keeps generating for all users:

if (adf.context.getSecurityContext()?.isUserInRole('SAFWA_SVC_CUSTOMER_SERVICE_REPRESENTATIVE_JOB_CUSTOM') && ChannelTypeCd == "E-mail")

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!