Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

edited Mar 14, 2019 8:59AM in Fusion 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!