Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/19/2024 03:34 AM
Hello Team,
We have created 3 analytics in Saviynt which is responsible for performing some user operation.
Analytics 1 : update user profile attribute cp11 with static value based on 1 target attribute.
Analytics 2: update user status as inactive for third party users based on end date.
Analytics 3: Update user manager to new manager (managers manager) in case current manager is inactive
We are calling this analytics via sav for sav connection using ImportUserJSON.
We ended up creating 3 different sav for sav connection for these analytics.
Is it possible to use 1 connection and design ImportUserJson to handle all above cases?
Please note we have configured trigger chain job which is responsible to run this analytics first(based on category and sub category ) and then run this sav connection.
This is adding unnecessary delay and causing issue.
Please suggest some solution.
Solved! Go to Solution.
08/19/2024 06:25 AM
08/19/2024 06:31 AM
Samples to refer?
All are static report with different set of attributes returned as part of query.
08/19/2024 06:40 AM
Share one of the JSON
08/19/2024 09:44 PM
Using similar to this:
https://forums.saviynt.com/t5/identity-governance/rest-connection-to-call-saviynt-api/m-p/14813
08/19/2024 10:03 PM
{
"type": "multiCall",
"call": [
{
"name": "call1",
"connection": "acctAuth",
"successResponses": {
"statusCode": [
200,
201,
202,
203,
204,
205
]
},
"url": "https://{URL}/ECM/api/v5/fetchControlDetailsES",
"httpMethod": "GETWITHBODY",
"httpParams": "{\"analyticsid\":\"1473\"}",
"httpHeaders": {
"contentType": "application/json",
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"userResponsePath": "result",
"colsToPropsMap": {
"username": "userName~#~char",
"manager": "ownermanagername~#~char"
},
"errorCode": "400",
"errorCodePath": "errorCode"
},
{
"name": "call2",
"connection": "acctAuth",
"successResponses": {
"statusCode": [
200,
201,
202,
203,
204,
205
]
},
"url": "https://{URL}/ECM/api/v5/fetchControlDetailsES",
"httpMethod": "GETWITHBODY",
"httpParams": "{\"analyticsid\":\"1473\"}",
"httpHeaders": {
"contentType": "application/json",
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"userResponsePath": "result",
"colsToPropsMap": {
"username": "userName~#~char",
"manager": "ownermanagername~#~char"
},
"errorCode": "400",
"errorCodePath": "errorCode"
}
]
}
08/19/2024 10:10 PM
So if I create a trigger chain job where I first execute all the analytics based on analytics category and sub category and then execute this sav for sav rest connection it will work and fetch the data based on the analytics refered?
08/19/2024 10:23 PM
You should run analytics from API
08/19/2024 10:30 PM
My analytics are not runtime.
Hence to process the latest record I want to run the analytics first via run all analytics job and then my sav for sav connection fetch the latest data and perform operation on that limited data.
So will trigger will satisfy my needs?
08/19/2024 10:42 PM
You can use trigger then