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

Saviynt for Saviynt - SaviyntForSaviyntAccountImportJobTrigger

ray
Regular Contributor
Regular Contributor

Hello, 

I have the Job below that is failing now i dont't know why. I use this Job to update the status attribut for external worker.

The error i get :

ray_1-1712910727808.png

ray_4-1712911282242.png

ImportUserJSON IN Saviynt For Saviynt connexion :

 

ray_3-1712910921488.png

 

Anyone can help please?

 

Regards,

Ray

5 REPLIES 5

Raghu
Valued Contributor III
Valued Contributor III

change status key and try

"statuskey": "#CONST#${(1==1)?'true':'false'}~#~char",

Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

rushikeshvartak
All-Star
All-Star

Please share logs


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

ray
Regular Contributor
Regular Contributor

It worked, it was another mistake. Sorry for that.

Regards,
Ray

Great Please share working JSON and Please click the 'Accept As Solution' button on the reply (or replies) that best answered your original question.


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

ray
Regular Contributor
Regular Contributor

Working ImportUserJSON:

{
"connection": "userAuth",
"successResponses": {
"statusCode": [
200,
201,
202,
203,
204,
205
]
},
"url": "https://xxx-dev.saviyntcloud.com/ECM/api/v5/fetchRuntimeControlsDataV2",
"httpParams": "{\"analyticsname\": \"xxx Update worker status\",\"max\": \"500\"}",
"httpMethod": "POST",
"httpHeaders": {
"Authorization": "${access_token}"
},
"Content-Type": "application/json",
"httpContentType": "application/json",
"userResponsePath": "results",
"colsToPropsMap": {
"username": "username~#~char",
"statuskey": "Yes~#~char"
},
"pagination": {
"offset": {
"offsetParam": "offset",
"batchParam": "displaycount",
"batchSize": 200,
"totalCountPath": "completeResponseMap.total"
}
}
}