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

importAccount JSON SAP concur.

Rajatlm10
New Contributor III
New Contributor III

I am trying to import Accounts from SAP Concur. i am using the below importAccount JSON. 

The job is running but its not able to change the status of accounts. There are already 90k records for SAP concur but with "suspended from import service" status. 

i am using the JSON below. 

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn":"Status",
"activeStatus": [
"true"
],
"accountsNotInImportAction": "Suspend",
"accountThresholdValue": 100000,
"deleteLinks": true,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": false,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xyz/v4/users/",
"httpContentType": "application/json",
"httpMethod": "GET",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json" }
},
"listField": "Items",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "userName~#~char",
"customproperty1": "formatted~#~char",
"customproperty2": "familyName~#~char",
"Status": "active~#~char",
"customproperty3":"active~#~char"
},
"statusConfig": {
"active": "true"},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.NextPage == null?null:response?.completeResponseMap?.NextPage}" }
}
}
}
}
}

 

in logs i am not getting the error but i could see the below query getting called for activating the accounts. 

Rajatlm10_0-1718630372319.png

Has anyone worked on this before ?

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

If accounts are SFIS then new accounts will be created


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

Yes, accounts got duplicated again with SFIS status. 

I am passing the status column and active status value in the threshold still , accounts are getting imported with SFIS status.

I am not able to understand the error for this. or if i am missing anything.