ioffe | 2024-02-09 15:07:14 UTC | #1
Hello All,
For the following data action, the execute step works and does return the data/response but it is wrapped in a brackets [ ] (in a start and at the end) which I believe prevents GC to read this as an Object:
My attempt to trim first and last characters:
{
"translationMap": {},
"translationMapDefaults": {},
"successTemplate": "${rawResult}.substring(2, ${rawResult}.length()-1))"
}
Still the same, please advise.
Jason_Mathison | 2024-02-12 18:44:29 UTC | #2
This seemed to work for me:
$rawResult.substring(1, $rawResult.length()))
system | 2024-03-14 18:45:14 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 24575