I'm setting up a virtual agent and editing an intent flow from the "Salesforce - Access" template. I have created the step "change request type and fields" and I am wanting to change the request type to "Request a new account" and update the additional fields to set the Components to "Business Operations Services" (already created in Components) and Affected services to be "Salesforce" (already created and set in Services)
I first tried to set components following the field input formats here:
Use JSON to specify field values.
The example they gave for components was:
"components" : [ { "name": "Active Directory"} , { "name": "Network Switch" } ]
I used this for my example:
"components" : [ { "name": "Business Operations Services"} ]
The response I get for everything I have tried returns this error:
Value must be in JSON format, e.g. {"fieldId": "fieldValue"}
I need help with changing the additional fields to set Components and Affected services without throwing an error.
Thank you,
Hi @Jeff ,
Try adding curly brackets at the beginning and at the end like this...
{
"components" : [ { "name": "Business Operations Services"} ]
}
That worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.