Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/24/2024 02:56 PM
We are having an issue with passing a variable substring into the URL for an API call. We are trying to integrate Adobe Workfront with Saviynt and have some properties that need to be modified before we can send them to the target application and retrive a unique object ID. We are using multiple API calls to accomplish this.
Here's an example:
There is a resource called Home Team in WF that we need to map to a department name. The department names in Saviynt follow the convention "Department Name (XXX)", and we have to pass the Department Name without the number code to WF to retrieve the object ID. Here's the JSON we are using.
Here's the error we are resceiving:
{"auditDetails":{"call1":[{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"}]},
Any help would be appreciated.
10/24/2024 02:58 PM
Does hardcoded value works from saviynt ?
10/24/2024 02:59 PM
"https://<URL>/team/search?name_Mod=contains&name=${user.departmentname != null ? user.departmentname.substring(0, user.departmentname.lastIndexOf(' ')) : ''}"
10/24/2024 03:55 PM
We can't use hardcoded values because the departments and divisions are updated frequently.
I tried this URL and got the same error: "call1":{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"}}
10/24/2024 05:52 PM
I understand you can’t hardcode just validate if hardcode value works and no issue with import.