I have an API app that is receiving a request → making a few GETs + processing info → and then ultimately creating a Salesforce case. In the SFDC case connection, I’m mapping JSON to the standard Description field (textarea). Example of the format & type of JSON below.
[
{
"dog": "poodle",
"age": 6,
"success": true
}
{
"dog": "beagle",
"age": 2,
"success": true
}
{
"dog": "lab",
"age": 9,
"success": true
}
]
I ran into deserialization errors when trying to map the JSON alone. I then ran a transform to convert the JSON to text. What’s strange is when I run the connection from the connection page (…/connection) it works however when running the entire app it fails on the Case step. If I then change the Description field mapping from the json_to_text_transform to a simple string then the app succeeds.
Any ideas on what might be causing this? Should I just parse through and create a string like, “Dog: Poodle, Age: 26, Success: True | …”. If so, how do I do that ?