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

How to ignore inactivateAccountsNotInFile in rest connector

narendranegi
New Contributor II
New Contributor II

Scenarios: Target account recon API only provide 500 records of update/created. and there are more than 10K records which we are uploading manually.

With inactivateAccountsNotInFile value as False configuration, 500 records are getting updated, and rest are getting SUSPENDED FROM IMPORT. I have tried this configuration in both places STATUS_THRESHOLD_CONFIG and ImportAccountEntJSON

Please suggest is there a way to ignore this configuration.

Regards
Narendra Negi

17 REPLIES 17

dgandhi
All-Star
All-Star

 

  • inactivateAccountsNotInFile: Specify true or false to instruct the connector to mark accounts that are not imported during import as inactive or SUSPENDED FROM IMPORT SERVICE. When set totrue, accounts that are not imported during import are marked as inactive. When set to false, accounts that are not imported during import are marked as SUSPENDED FROM IMPORT SERVICE. The default value is false. Below document:

  • https://docs.saviyntcloud.com/bundle/REST-v2021x/page/Content/Configuring-the-Integration-for-Import...

 

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

But is there a way ignore it altogether?

Regards

Narendra Negi

Have you tried removing the line altogether from the config and see?

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

Yes, it doesn't work.

Regards

Narendra Negi

This should not happen. If config is not present then no action should be taken by the connector.

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

rushikeshvartak
All-Star
All-Star

Please share json


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Jyoti1
Regular Contributor
Regular Contributor

Hi

 

I am also facing similar issue. How can we avoid any action on imported accounts.

 

Json-

"statusAndThresholdConfig": {
"statusColumn": "customproperty2",
"activeStatus": ["true"],
"deleteLinks": false,
"accountThresholdValue": 500000,
"correlateInactiveAccounts": true,

"inactivateAccountsNotInFile": false
},

 

I tried using false and removing the configuration also.

armaanzahir
Valued Contributor
Valued Contributor

Hi All,

This feature to exclude performing the account threshold check altogether is supported in versions above v23.2 

You can try putting the value of accountThresholdValue to "0" or any negative value to skip performing this check.

 

armaanzahir_1-1688551414846.png

What's New in this Guide (saviyntcloud.com)

Creating a Connection using the Service Account Key (saviyntcloud.com) 

The list of supported connectors is provided in the video. This includes the REST connector and is applicable for account imports.

https://youtu.be/jhfVOkCXPaA

 

Regards,
Md Armaan Zahir

Jyoti1
Regular Contributor
Regular Contributor

Hi Narendra

 

Were you able to resolve this?

Jyoti1
Regular Contributor
Regular Contributor

Hi Armaan

 

I tried putting accountthreshold to 0 and it is removed all the accounts from endpoint

armaanzahir
Valued Contributor
Valued Contributor

Hi Jyoti,

Which version are you on? If above 23.2, then please raise an FD ticket as it's not the expected behavior as per documentation.

Thanks,

Armaan

Regards,
Md Armaan Zahir

prachi
Regular Contributor II
Regular Contributor II

Hi,

I have similar requirement, are you able to solve this?

 

armaanzahir
Valued Contributor
Valued Contributor

Hi @prachi ,

Which version of Saviynt are you on? Have you tried the above suggestion provided as per documentation?

 

Thanks,

Armaan

Regards,
Md Armaan Zahir

prachi
Regular Contributor II
Regular Contributor II

23.7v of saviynt.

prachi
Regular Contributor II
Regular Contributor II

Also, i did try the above but it is still making the account Inactive. 

My statusAndThresholdConfig section in JSON is  :

"statusAndThresholdConfig": {
"activeStatus": [
"Open"
],
"deleteLinks": true,
"accountThresholdValue": 0,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},

narendranegi
New Contributor II
New Contributor II

Hi,

I removed statusAndThresholdConfig completely and moved everything to AccountImport JSON

prachi
Regular Contributor II
Regular Contributor II

Hi @narendranegi ,

Did it work for you? Because i have my status and threshold defined in ImportAccountEntJson as well but it is still deleting/inactivate the account not returned in API response.

Adding the complete JSON below - 

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"deleteLinks": true,
"accountThresholdValue": 0,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"includeExistingInActiveAccounts": true,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://{URL}/ECM/api/v5/fetchControlDetailsES?analyticsid=1739",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "result",
"keyField": "name",
"colsToPropsMap": {
"name": "name~#~char",
"customproperty2": "customproperty2~#~char"
}
}
},
"acctEntMappings": {
}
},
"entitlementParams": {
},
"acctEntParams": {
}
}