02/17/2023 10:56 AM - edited 02/17/2023 10:57 AM
How are the ${} string interpolators implemented in Saviynt for aspects like CREATEACCOUNTJSON connector configurations, and what is the embedded language used when inside them?
I was under the impression it uses Groovy strings (with the "new" keyword blacklisted), but I keep encountering issues that make me question this.
---
I'm attempting to implement a SOAP request and want to use beautified XML to make maintenance/legibility easier. I'm doing this by embedding a triple double quote string, and then regex replacing the newlines/whitespace at run-time to keep the XML as a JSON value; here's a example.
When I do this, I get Caused by: org.codehaus.groovy.grails.web.json.JSONException: Expected a ',' or '}' at character 54 of [{ in the log viewer.
Using online validators, and groovy.json.JsonSlurper I don't see syntax errors. Has any else found a decent workaround for this? Going back and forth between XML formatters and minifiers doesn't seem like an efficient/safe workflow.
02/19/2023 10:59 PM
${} is saviynt internal interpretation, unfortunately we can't beautify it.