I need to add a comment within a transition screen, but I don't want this comment to be visible to Customers.
Having the "Respond to customer" hidden, or at least having the "Internal Comment" selected by default, would limit the possibilities of mistakes by the Agent.
Is there a way to achieve this very common requirement?
Thanks
Thomas
I have a Transition validation that ensure the comment is Internal.
So while the user can attempt to make a public / customer comment, the transition will be declined unless the comment is internal
Hi David, that sounds great. How Do I check for "internal comment" in the validation?
Thank for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A simple Scripted Validator:
import groovy.json.JsonSlurper
import groovy.json.JsonParserType
def returnValue = true
def commentProperty = transientVars?.get("commentProperty")?.toString()
if (commentProperty != null) {
commentProperty = commentProperty.substring(2,commentProperty.length()-2)
def props = new JsonSlurper().setType(JsonParserType.LAX).parseText(commentProperty)
returnValue = props.key == "sd.public.comment" && props.value["internal"] == "true"
}
else {
returnValue = true
}
return returnValue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please vote for this suggestion:
https://jira.atlassian.com/browse/JSDCLOUD-1733 -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I note you are on cloud and AFAIK this cannot be done on cloud. You can read a couple of thread discussing this that are listed just to the right under "Related content". There is a KB of how do do this in Server but you don't have the same access in cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.