Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/30/2024 07:41 AM - last edited on 09/30/2024 08:11 AM by Dave
Hi Team,
We are trying to push the user manger value from Saviynt to ServiceNow application but the Manager value is not getting populated in ServiceNow but from the logs we can see the below values. Can you please help how to populate the manager value in ServiceNow application.
Logs:
Service","sys_class_name":"sys_user","u_employee_type":"Employee","sys_id":"______","federated_id":"______=","internal_integration_user":"false","mobile_phone":"4444444444","street":"","company":{"link":"https://dev.service-now.com/api/now/table/core_company/86fea39f9797895037a5307e6253af0c","value":"______"},"department":{"link":"https://dev.service-now.com/api/now/table/cmn_department/743dba89872bc150c98bffb9cebb3525","value":"______"},"first_name":"Matta2","email":"Last.First@domain.com","introduction":"","preferred_language":"","u_ip_phone":"","manager":{"link":"https://dev.service-now.com/api/now/table/sys_user/FirsLast","value":"FirstLast"},"business_criticality":"3","sys_mod_count":"0","last_name":"Last","photo":"","avatar":"","middle_name":"","sys_tags":"","time_zone":"","schedule":"","on_schedule":"","x_saviy_iga_saviynt_id":"","correlation_id":"","date_format":"MM-dd-yyyy","location":"","u_extensionattribute1":""}}, cookies:[BIGipServerpool_dev=______; httponly; secure; path=/; SameSite=None, JSESSIONID=______; Path=/; Secure; HttpOnly; SameSite=None, glide_user=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; secure; SameSite=None, glide_user_session=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; secure; SameSite=None, glide_user_route=glide.______; Max-Age=2147483647; Expires=Sat, 11-Oct-2092 15:44:35 GMT; Path=/; HttpOnly; secure; SameSite=None, glide_node_id_for_js=______; Path=/; secure; SameSite=None, glide_session_store=______; Max-Age=1800; Expires=Mon, 23-Sep-2024 13:00:28 GMT; Path=/; HttpOnly; secure; SameSite=None], statusCode:201]
Create Account Json:
{
"accountIdPath":"call1.message.result.sys_id",
"responseColsToPropsMap":{
},
"call":[
{
"name":"call1",
"connection":"userAuth",
"url":"https://XXXXXXXX.dev.service-now.com/api/now/table/sys_user",
"httpMethod":"POST",
"httpParams":"{\"city\":\"${user.city}\",\"company\":\"${user.companyname}\",\"department\":\"${user.departmentname}\",\"email\":\"${user.email}\",\"employee_number\":\"${user.employeeid}\",\"first_name\":\"${user.firstname}\",\"last_name\":\"${user.lastname}\",\"location\":\"${user.location}\",\"manager_email\":\"${user.customproperty3}\",\"manager\":\"${user.customproperty1 + user.customproperty2}\",\"mobile_phone\":\"${user.secondaryPhone}\",\"name\":\"${user.customproperty45}\",\"phone\":\"${user.phonenumber}\",\"state\":\"${user.customproperty16}\",\"street\":\"${user.street}\",\"title\":\"${user.title}\",\"user_name\":\"${user.username}\",\"u_description\":\"${user.customproperty30}\",\"u_employee_type\":\"${user.employeeType}\",\"zip\":\"${user.customproperty10}\"}",
"httpHeaders":{
"Authorization":"${access_token}"
},
"httpContentType":"application/json",
"unsuccessResponses":{
"error.message":"Operation Failed"
}
}
]
}
Thank you,
Chakritha.
[This post has been edited by a Moderator to remove sensitive information.]