and more in a single search tool across platforms. Read the announcement here. |
12/07/2023 09:10 PM
Hello Team,
We are getting the below error when try to update the user attribute.
Below is UpdateUserJson
{
"actions": {
"Update Login": {
"call": [
{
"name": "Update Login",
"callOrder": 0,
"connection": "acctAuth",
"url": "https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxtotalResults=true&limit=500&expand=assignments&q=PersonNumb...}'",
"httpMethod": "GET",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json",
"Content-Type": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
204,
201,
200
]
}
},
{
"name": "Update Login",
"callOrder": 1,
"connection": "acctAuth",
"url": "${response.'Update Login'.message.items[0].assignments[0].links[2].href}",
"httpMethod": "PATCH",
"httpParams": "{\"UserName\": \"${user.customproperty17!=null? user.customproperty17:user.employeeid}\",\"WorkPhoneExtension\":\"${user.customproperty35!=null? user.customproperty35:''}\",\"WorkPhoneAreaCode\":\"${user.phonenumber!=null? user.phonenumber.substring(1,4):'0'}\",\"WorkEmail\": \"${user.customproperty16!=null? user.customproperty16:' '}\",\"WorkPhoneNumber\":\"${user.phonenumber!=null? user.phonenumber.substring(5,13):'0'}\",\"WorkPhoneCountryCode\":\"${user.phonenumber!=null? user.phonenumber.charAt(0):'1'}\",\"WorkMobilePhoneExtension\":\"${user.customproperty38!=null? user.customproperty38:''}\",\"WorkMobilePhoneAreaCode\":\"${user.customproperty5!=null? user.customproperty5.substring(1,4):'0'}\",\"WorkMobilePhoneNumber\":\"${user.customproperty5!=null? user.customproperty5.substring(5,13):'0'}\",\"WorkMobilePhoneCountryCode\":\"${user.customproperty5!=null? user.customproperty5.charAt(0):'1'}\"}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"statusCode": [
204,
201,
200
]
}
]
}
}
}
Any suggestions on this.
thanks in advance
12/07/2023 09:25 PM
Both calls name can't be same
12/07/2023 10:51 PM
@rushikeshvartak Thanks for the response.
Could you please suggest or provide the example for having two different calls so that it will be helpful. It was working fine earlier not sure the upgrade (v23.11) caused the issue