Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

REST Connection - Do not change status for the accounts which is not returned in REST API response

prachi
Regular Contributor II
Regular Contributor II

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.

9 REPLIES 9

sudeshjaiswal
Saviynt Employee
Saviynt Employee

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.

If you find the above response useful, Kindly Mark it as "Accept As Solution".

prachi
Regular Contributor II
Regular Contributor II

Hi Sudesh,

My requirement is that i do not want to delete any account, so will i need to make accountThresholdValue as 0?

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @prachi,

Try this, this should not change the status of the account.

If you find the above response useful, Kindly Mark it as "Accept As Solution".

prachi
Regular Contributor II
Regular Contributor II

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": {
}
}

prachi
Regular Contributor II
Regular Contributor II

@sudeshjaiswal 

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.

prachi
Regular Contributor II
Regular Contributor II

Thankyou!!

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @prachi,

If the account is unavailable during import the status of the account can be either suspended from import service or inactive. 


If you find the above response useful, Kindly Mark it as "Accept As Solution".

prachi
Regular Contributor II
Regular Contributor II

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!!

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @prachi,

Could you please brief us about your use case?


If you find the above response useful, Kindly Mark it as "Accept As Solution".