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

Duplicate Accounts getting created in the target app in a single request

jezzanuena
Regular Contributor II
Regular Contributor II
{
    "accountIdPath": "call3.message.id",
    "dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
    "call": [
        {
            "name": "call1",
            "connection": "acctAuth",
            "httpMethod": "POST",
            "httpParams": "{\"safeName\": \"${requestAccessAttributes.get('domainname')=='US'?('P-US-'+user.username):('P-CAN-'+user.username)}\",\"description\": \"${requestAccessAttributes.get('domainname')=='US'?(user.firstname+' '+user.lastname+' '+'-'+' '+'SID'):(user.firstname+' '+user.lastname+' '+'-'+' '+'CANADA SID')}\",\"numberOfVersionsRetention\": \"5\",\"managingCPM\": \"${requestAccessAttributes.get('domainname')=='US'?'PasswordManager':'PassMgr_Canada'}\"}",
            "httpHeaders": {
                "Authorization": "${access_token}",
                "Accept": "application/json"
            },
            "httpContentType": "application/json",
            "successResponses": {
                "statusCode": [
                    201,
                    200,
                    409
                ]
            },
            "unsuccessResponses": {
                "statusCode": [
                    401,
                    400,
                    403,
                    404,
                    500
                ]
            }
        },
        {
            "name": "call2",
            "connection": "acctAuth",
            "httpMethod": "GET",
            "httpHeaders": {
                "Authorization": "${access_token}",
                "Accept": "application/json"
            },
            "httpContentType": "application/json",
            "successResponses": {
                "statusCode": [
                    201,
                    200,
                    409
                ]
            },
            "unsuccessResponses": {
                "statusCode": [
                    401,
                    400,
                    403,
                    404,
                    500
                ]
            }
        },
        {
            "name": "call3",
            "connection": "acctAuth",
            "httpMethod": "POST",
            "httpHeaders": {
                "Authorization": "${access_token}",
                "ContentType": "application/json"
            },
            "httpContentType": "application/json",
            "httpParams": "{\"userName\": \"${arsTasks.accountName}\",\"safeName\":\"${response.call2.message.safeName}\",\"address\":\"${requestAccessAttributes.get('domainname')=='US'?'US':'ca.hq.medisna.com'}\",\"secretType\":\"password\",\"platformId\":\"${requestAccessAttributes.get('domainname')=='US'?'PSMWinDomainAcctViewSID':'PSMWinDomainAcctViewCanadaSID'}\"}",
            "successResponses": {
                "statusCode": [
                    200,
                    201,
                    204
                ]
            },
            "unsuccessResponses": {
                "statusCode": [
                    400,
                    401,
                    403,
                    404,
                    405,
                    500
                ]
            }
        }
    ]
}
2 REPLIES 2

NM
Esteemed Contributor
Esteemed Contributor

@jezzanuena can you elaborate on the issue.

Is it saviynt not rendering a account name?

If it related to api .. is it not creating duplicate account from postaman?


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

rushikeshvartak
All-Star
All-Star
  • Please provide purpose of 3 calls.
  • Please provide logs from saviynt in  text file.
  • Does issue occurs same from postman ?

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