Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Multiple Call ImportUserJSON Duplicate Execution

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 22 2022 at 20:41 UTC

I have the following ImportUserJSON and I am using a logging endpoint that returns a simple response with a 200 http code in order to see the details of the Saviynt REST call. I am seeing Saviynt execute the same REST call (call2) 15-20 times each time I run a user import. Is something wrong in my config? IS Saviynt supposed to execute multiple calls?


{

  "type":"multiCall",

  "processingType": "SequentialAndIterative",

  "call": [

    {

      "name":"call1",

      "callOrder": 0,

      "retryWaitSeconds": 60,

      "connection": "MyConnection",

  "url": "<url>",

   "httpMethod": "POST",

   "httpParams": {

    "query": "<graphql query>"

   },

   "httpHeaders": {

  "Authorization": "${access_token}",

     "Accept": "application/json"

   },  

   "httpContentType": "application/json",

   "errorPath": "errors[0].message",

   "userResponsePath": "path.to.user.list",

   "colsToPropsMap": {

  "USERNAME": "id~#~char",

  "FIRSTNAME": "first_name~#~char",

  "LASTNAME": "last_name~#~char"

   },

   "successResponses": {

     "statusCode": [

       200,

       201,

       202,

       203,

       204,

       205

     ]

   }

    },

    {

      "name":"call2",

      "callOrder": 1,

      "retryWaitSeconds": 60,

      "connection": "MyConnection",

   "url": "<logging endpoint>",

   "httpMethod": "POST",

   "httpParams": {

    "query": "<graphql query>"

   },

   "httpHeaders": {

  "Authorization": "${access_token}",

     "Accept": "application/json"

   },  

   "httpContentType": "application/json",

   "errorPath": "errors[0].message",

   "userResponsePath": "path.to.user.list",

   "colsToPropsMap": {

  "USERNAME": "id~#~char",

  "FIRSTNAME": "first_name~#~char",

  "LASTNAME": "last_name~#~char"

   },

   "successResponses": {

     "statusCode": [

       200,

       201,

       202,

       203,

       204,

       205

     ]

   }

    }

  ]

}

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
1 REPLY 1

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 22 2022 at 20:43 UTC

^ This is in version 2021.0

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.