What problem are you observing?
In the last 48 hours, our workflows have begun failing. I do not know if I am going mad, or if a Sailpoint update has introduced a bug.
I am currently getting a user’s account with the ‘getAccounts’ query and then verifying they do indeed have an account in the target source with the verify data type: -
$.getAccounts.accounts[?(@.sourceId== ‘975c77e2e0cb4d888afb6a76295888c4’)].sourceName
So far, so good. I get ‘true’ from that query.
However, I then need to make an API call to get attributes from that account.
I am using the call: -
https://tenenturl.api.identitynow.com/beta/accounts/{{$.getAccounts.accounts[?(@.sourceId== ‘975c77e2e0cb4d888afb6a76295888c4’)].id}}
However, this is failing
In the workflow output, I can see the following is being called: -
“url”: “https://tenenturl.api.identitynow.com/beta/accounts/[\“0338f4ab53b34cb9835922a3c11279f6\”]”,
This workflow started failing during testing, and has previously past the test.
We also have another workflow using the same getAccounts / getAccountAttribute by API call logic, and I can see this is also now failing for the same reason.
I have hardcoded the ‘test account’ ID into the URL as below, and the account get attributes is working correctly: -
https://tenenturl.api.identitynow.com/beta/accounts/0338f4ab53b34cb9835922a3c11279f6
So the question is: -
-
WHY are the escape characters not being removed?
[" … "] -
WHAT can I do to remove them if this is intentional?
I have been through the forums and other examples, and the way I am referencing the attribute is absolutely the way being advised, AND this was working until the last 48 hours.
What is the correct behavior?
Bugs are considered issues with a feature that prevent it from behaving as designed. In what way do you believe this feature is not working as designed?
The escape characters should be removed from the variable before being used in the API call.
What product feature is this related to?
Workflows - Identity Security Cloud (IdentityNow)
Please indicate which product and feature you are having issues with. Please include version numbers and any other relevant information.
IDN
What are the steps to reproduce the issue?
See above for recreation steps
Please share a complete and detailed list of steps that others can follow to reproduce this issue. Include links, images, and other supporting information to help us reproduce this. Issues that can be reproduced are more likely to be prioritized.
Do you have any other information about your environment that may help?
This could be software versions, browser versions, special configurations, etc.