Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/03/2024 07:28 AM
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
]
}
}
]
}
09/03/2024 07:30 AM
Hi @RanjithSaiM responsecolstoprop doesn't work in enable and disable json
09/03/2024 07:31 AM
@RanjithSaiM I will say use any other identifier which doesn't update after disablement.
09/03/2024 07:32 AM
09/03/2024 08:03 AM
Thank you, guys.
@rushikeshvartakCan we do that as a back end task to update account, without using analytics?
09/03/2024 08:21 AM
@RanjithSaiM
You can use an enhanced query and update the account as needed.
09/03/2024 08:21 AM
You can do from update account with actionable analytics
09/03/2024 09:10 AM
@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!
09/03/2024 09:18 AM
You can have flag and advanced query check if task exists; dont show item in query so you can control the sql query
09/04/2024 12:02 PM
@rushikeshvartakWe will give it a try, thanks!
09/05/2024 02:06 AM
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.