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

Unable to evaluate URL parameter

RCreddy
New Contributor
New Contributor

Hello Team,

We are getting the below error when try to update the user attribute.

RCreddy_0-1702012094041.png

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

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

Both calls name can't be same


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

@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