08/01/2023 10:59 PM
Hi,
I am working on REST connector and i have a requirement where i do not want to change or modify the status of the accounts which is not returned in my REST API response.
For Example - Under the endpoint, if i have 25 accounts out of which 5 accounts are inactive and 20 accounts are active. My API response returns only 5 accounts out of 25, so for remaining 20 accounts i dont want to change the status.
Currently i have tried giving "inactivateAccountsNotInFile": false and also tried with true and it is making the accunt Inactive / Suspended from Import service as per the value for theis configuration.
However, my requirement is like NO ACTION should be taken for the accounts not returned in API response.
Any inputs here would be appreciated.
Thanks in advance.
08/01/2023 11:27 PM - edited 08/01/2023 11:27 PM
Hello @prachi,
Please try using accountThresholdValue
For E.g. Specify accountThresholdValue as 10 to suspend or delete a maximum of 10 accounts. If the number of accounts to suspend or delete exceeds the threshold value, no action (suspension or deletion) is taken on the existing accounts.
08/01/2023 11:29 PM
Hi Sudesh,
My requirement is that i do not want to delete any account, so will i need to make accountThresholdValue as 0?
08/01/2023 11:31 PM
Hello @prachi,
Try this, this should not change the status of the account.
08/01/2023 11:43 PM
It is still making the Account Inactive.
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"activeStatus": [
"Open"
],
"deleteLinks": true,
"accountThresholdValue": 0,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"includeExistingInActiveAccounts": true,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "URL",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "result",
"keyField": "name",
"statusConfig": {
"active": "Open",
"inactive": "T"
},
"colsToPropsMap": {
"name": "accountname~#~char",
"displayName": "ConCatRESULT~#~char",
"status": "status~#~char"
}
}
},
"acctEntMappings": {
}
},
"entitlementParams": {
},
"acctEntParams": {
}
}
08/02/2023 07:44 AM
I have tried the below approaches but it did not work :
1. Giving "accountThresholdValue": "0"
"accountThresholdValue": "-1"
"accountThresholdValue": 0
"accountThresholdValue": -1
2. I also tried removing the "inactivateAccountsNotInFile" from "statusAndThresholdConfig" and keeping "accountThresholdValue": "0" or "-1".
In all the cases it is either deleting or inactivating the account.
08/01/2023 11:41 PM
Thankyou!!
08/02/2023 02:12 AM
Hello @prachi,
If the account is unavailable during import the status of the account can be either suspended from import service or inactive.
08/02/2023 02:43 AM
Hi @sudeshjaiswal ,
We dont want to make any chnages in the accounts which is not present in the API response. We are looking for a solution / workflow to acheive NOTINFILEACTION = NOACTION.
Any inputs will be appreciated here!!
08/02/2023 08:51 PM
Hello @prachi,
Could you please brief us about your use case?