Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Single Sav For Sav connection for all analytics

Manu269
All-Star
All-Star

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.

 

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.
9 REPLIES 9

rushikeshvartak
All-Star
All-Star
  • You can have 3 calls in 1 connection

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Samples to refer?

All are static report with different set of attributes returned as part of query.

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

Share one of the JSON


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Using similar to this:

https://forums.saviynt.com/t5/identity-governance/rest-connection-to-call-saviynt-api/m-p/14813

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

{
  "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"
    }
  ]
}

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

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?

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

You should run analytics from API


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Manu269
All-Star
All-Star

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?

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

You can use trigger then


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.