We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

REST Connection: Account entitlement mapping for inactive accounts

bhushan1
New Contributor III
New Contributor III

Hi All,
Please refer below issue description:

  1. We are trying to import accounts from Encompass application.
  2. We have successfully imported the accounts and entitlements also, mapping is completed for active accounts.
  3. The inactive accounts do not have the entitlements mapped.
  4. customproperty31 is populated for inactive accounts as well.

I have tried adding "includeExistingInActiveAccounts": true, into the json along with "statusAndThresholdConfig".
Refer below json:
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://AAAAA.com/encompass/v1/company/users",
"httpContentType": "application/json",
"httpMethod": "GET",
"httpHeaders": {
"Authorization": "${access_token}"
}
},
"listField": "",
"keyField": "accountID",
"statusAndThresholdConfig": {
"accountThresholdValue": 1000,
"inactivateAccountsNotInFile": true,
"correlateInactiveAccounts": true,
"statusColumn": "customproperty10",
"activeStatus": [
"Enabled"
],
"inactivateEntsNotInFeed": true
},
"includeExistingInActiveAccounts": true,
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "id~#~char",
"customproperty1": "firstName~#~char",
"customproperty2": "lastName~#~char",
"customproperty3": "email~#~char",
"customproperty4": "organization~#~char",
"customproperty5": "workingFolder~#~char",
"customproperty6": "subordinateLoanAccess~#~char",
"customproperty7": "peerLoanAccess~#~char",
"customproperty8": "personalStatusOnline~#~char",
"customproperty9": "organization.entityName~#~char",
"customproperty10": "#CONST#${List responseList = response?.userIndicators; int size = responseList.size(); if(responseList.size() == 1) {return responseList.get(0); }; else if(responseList.size() > 1) { int refIndex = responseList.size()-1; return responseList.get(refIndex); }; else {return ''; }; }~#~char",
"displayName": "fullName~#~char",
"customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
}
}
},
"acctEntMappings": {
"Personas": {
"listPath": "personas",
"idPath": "entityId",
"keyField": "entitlementID"
}
}
},
"entitlementParams": {
"processingType": "SequentialAndIterative",
"entTypes": {
"Personas": {
"entTypeOrder": 0,
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://AAAAA.com/encompass/v1/settings/personas",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "id~#~char",
"entitlement_value": "name~#~char",
"customproperty1": "id~#~char"
},
"disableDeletedEntitlements": true
}
}
}
}
},
"acctEntParams": {
"entTypes": {
"Personas": {
"call": {
"call1": {
"processingType": "acctToEntMapping"
}
}
}
}
}
}

Using this json updated all the accounts to active. All the inactive accounts were activated after the account import.
Please let me know if I am missing anything here.
We are on v23.4 version.

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

move statusAndThresholdConfig from import json to statusAndThresholdConfig block


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

Hi @rushikeshvartak,

I have tried that already. It does bring in both active and inactive accounts but no entitlement mapping for inactive accounts.
Is there any other attribute to be added to the json?

Thanks,
Bhushan