and more in a single search tool across platforms. Read the announcement here. |
01/10/2024 01:45 PM - edited 01/10/2024 02:31 PM
Hello Saviynt Forum,
May I get help to inspect my setup for Connection on JSONs for when running the WSRetry does not Complete the Pending Tasks. Only manual provision will be successful.
The design is REST call various APIs. The Functionality generates RACFId via the Endpoint's "Account Name Rule" and pass that RACFId to Add Access. So 1 Request, 2 Task type [1,3]
SS:
CreationAccountJSON:
{
"call": [
{
"name": "call1",
"connection": "userAuth",
"url": "https://api-xxx-xxx.fisglobal.com/rest/xxx/v4/users",
"httpMethod": "POST",
"httpParams":"{\"usr\":{\"lstNme\":\"${user.lastname}\",\"frstNme\":\"${user.frstNme}\",\"usrId\":\"${user.customproperty2}\",\"pwd\":\"${user.customproperty3}\",\"pwdIntvl\":\"90\",\"rsmeDte\":\"2024-01-4\",\"rvkeDte\":\"2024-01-16\",\"imsTmeOut\":\"01:00\",\"cicsTmeOut\":\"01:00\",\"email\":\"${user.email}\",\"jobDesc\":\"${user.jobdescription}\",\"phone\":\"${user.phonenumber}\",\"pwdManaged\":\"${user.customproperty4}\",\"dfltPrcsGrp\":\"${user.customproperty6}\",\"employeeID\":\"${user.employeeID}\"},\"prcsGrpId\":{\"${user.customproperty8\"},\"availDays\":\"user.customproperty9\"}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"ticketidPath": "result.number",
"ticketStatusPath": "result.state",
"ticketStatusValue": [
"open",
"OPEN",
"Open"
],
"successResponses": {
"200": "User Created Successfully",
"201": "User Created Successfully",
"204": "User Created Successfully",
"205": "User Created Successfully"
},
"unsuccessResponses": {
"400": "Create Account Failed",
"401": "Create Account Failed",
"404": "Create Account Failed",
"405": "Create Account Failed",
"500": "Create Account Failed",
"502": "Create Account Failed"
}
}
]
}
-----
AddAccessJSON
{"call": [
{"name":"Role","connection":"FIS_DEV_2","url":"https://api-xxx-xxxx.xxxxxxx.com/rest/xxxxx/v4/roles/users","httpMethod":"PUT","httpContentType":"application/json","httpParams":"{\"successResponses\":{\"statusCode\":\"200\"},\"usrId\":\"${user.customproperty2}\",\"asgnRmvUsrInd\":\"A\",\"httpHeaders\":{\"Authorization\":\"Bearer {{Token}}\",\"saf-indicator\":\"N\",\"organization-id\":\"BAXDEFAULT-###\",\"ibs-authorization\":\"xxxxxxxxxxxxxx\",\"uuid\":\"{{$guid}}\",\"security-token-type\":\"Oauth2\",\"source-id\":\"xxxx\",\"application-id\":\"ET\",\"accept\":\"application/json\",\"Content-Type\":\"application/json\"},\"unsuccessResponses\":{\"statusCode\":\"400\"}}"}
]
}
Thank you,
Attaching log.
I appreciate it!
DK
01/10/2024 02:53 PM