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

REST API - responseColsToPropsMap not working during Enable/Disable

RanjithSaiM
New Contributor
New Contributor

Hi

We have an application where the account name is appended with _Inactive during disable and removed during Enable. Due to this changes we are ending up with two accounts in Saviynt post import.

I was wondering if we can update account name using the responseColsToPropsMap mapping in the JSON but, could not get it working. I have used it in CreateAccount and was wondering if we can leverage it for Enable/ Disable JSON.

I have tried but, it did not work, not sure if there is a different syntax. Below is what I have used for testing,

{
"responseColsToPropsMap": {
"name": "call1.message.NewLoginName~#~char"
},
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://APIURL",
"httpMethod": "POST",
"httpParams": "{\"body\": {\"wfName\": \"Inactivate User WF\", \"User Id\": \"${account.accountID}\"}}",
"httpContentType": "application/json",
"httpHeaders": {
"Authorization": "*********************************",
"Accept": "application/json"
},
"successResponses": {
"statusCode": [
200,
201
]
}
}
]
}

 

10 REPLIES 10

NM
Esteemed Contributor
Esteemed Contributor

Hi @RanjithSaiM responsecolstoprop doesn't work in enable and disable json


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

NM
Esteemed Contributor
Esteemed Contributor

@RanjithSaiM I will say use any other identifier which doesn't update after disablement.


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

rushikeshvartak
All-Star
All-Star
  • This is expected behavior. There will no change in existing account name in case of enable/Disable.
  • if your user name is changing use update account jSON and try

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

RanjithSaiM
New Contributor
New Contributor

Thank you, guys.

@rushikeshvartakCan we do that as a back end task to update account, without using analytics?

stalluri
Valued Contributor II
Valued Contributor II

@RanjithSaiM 
You can use an enhanced query and update the account as needed.


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.

You can do from update account with actionable analytics


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

RanjithSaiM
New Contributor
New Contributor

@stalluri@rushikeshvartak , I did think about enhanced query/ actionable analytics but, was wondering about the timing of having an enable account in the queue later in the day. Then we might end up updating account twice one for disable and one time for enable. If these are the only options then we will play around carefully on the filters.

Appreciate you all taking time and providing these suggestions.

Thanks!

You can have flag and advanced query check if task exists; dont show item in query so you can control the sql query


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

RanjithSaiM
New Contributor
New Contributor

@rushikeshvartakWe will give it a try, thanks!

Hi @RanjithSaiM 

Could you please confirm the below details.

1. Is the _Inactive getting appended on the target side and account is getting inactivated in target application first and you want to import the updated account name with _Inactive in the EIC post import?

2. What is the reconciliation field mapped with account id.