Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/25/2024 05:29 AM
Hello,
Could someone assist in implementing a logic to exclude accounts with "Deleted member" in their displayName from the Application Data Import process?
I aim to exclude the specified deleted accounts from the target during the account import. Thanks!
Below is my ImportAccountEntJSON
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://ABC.com/scim/v2/Users?scim_provisioned_only=false&include_inactive=true",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"pagination": {
"page": {
"pageSizeParam": "count",
"pageSize": 1000,
"pageRecordCount": "50",
"pageNumberParam": "startIndex",
"firstPageNumber": 1,
"totalCountPath": "totalResults"
}
},
"listField": "Resources",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "userName~#~char",
"displayName": "displayName~#~char",
"customproperty1": "name.givenName~#~char",
"customproperty2": "name.familyName~#~char",
"accounttype": "#CONST#${String userType = response.userType;if(userType=='1346'){return 'it_admin'}else if(userType=='1312'){return 'hr_admin'}else {return userType}}~#~char",
"customproperty5": "active~#~bool",
"customproperty3": "title~#~char",
"customproperty4": "timezone~#~char",
"customproperty6": "locale~#~char",
"customproperty7": "emails.value~#~char",
"customproperty8": "addresses.value~#~char"
}
}
}
}
}
Solved! Go to Solution.
07/25/2024 05:41 AM
Does api support filter?
07/25/2024 05:45 AM
According to the API documentation, only the "eq" operator is supported for filtering users based on their email address.
07/25/2024 05:48 AM
In this case you can import account and set status as inactive
07/25/2024 05:49 AM
That's what I set up currently.
07/25/2024 05:57 AM
Thats only solution as api is lack of filters