{ "accountIdPath": "call1.message.result.sys_id", "responseColsToPropsMap": { "name": "call1.message.result.u_hal_id~#~char", "customproperty21": "call1.message.result.active~#~char", "customproperty1": "call1.message.result.user_name~#~char", "customproperty2": "call1.message.result.email~#~char", "customproperty3": "call1.message.result.first_name~#~char", "customproperty4": "call1.message.result.middle_name~#~char", "customproperty5": "call1.message.result.last_name~#~char", "customproperty6": "call1.message.result.name~#~char", "customproperty7": "call1.message.result.u_user_type~#~char", "customproperty8": "call1.message.result.employee_number~#~char", "customproperty9": "call1.message.result.u_empl_status~#~char", "customproperty10": "call1.message.result.u_halzip~#~char", "customproperty11": "call1.message.result.manager~#~char", "customproperty12": "call1.message.result.title~#~char", "customproperty13": "call1.message.result.u_cost_center_str~#~char", "customproperty14": "call1.message.result.u_legal_hold~#~char", "customproperty15": "call1.message.result.vip~#~char", "customproperty16": "call1.message.result.u_xip~#~char", "customproperty17": "call1.message.result.u_preferred_name~#~char", "customproperty18": "call1.message.result.locked_out~#~char", "customproperty19": "call1.message.result.mobile_phone~#~char", "customproperty20": "call1.message.result.phone~#~char" }, "call": [ { "name": "call1", "connection": "userAuth", "url": "https://halliburtontest.service-now.com/api/now/table/sys_user?sysparm_display_value=true", "httpMethod": "POST", "httpParams": "{\"name\":\"${user.displayname}\",\"email\":\"${user.email}\",\"u_user_type\":\"${user.employeeType}\",\"first_name\":\"${user.firstname}\",\"last_name\":\"${user.lastname}\",\"employee_number\":\"${user.employeeid}\",\"user_name\":\"${user.email}\",\"u_empl_status\":\"${user.customproperty27}\",\"u_legal_hold\":\"${if(user.customproperty16!=null){user.customproperty16.toString().toLowerCase()}else{'false'}}\",\"u_halzip\":\"${user.customproperty39}\",\"middle_name\":\"${user.middlename}\",\"mobile_phone\":\"${user.secondaryPhone}\",\"phone\":\"${user.phonenumber}\",\"u_hal_id\":\"${user.username}\",\"u_preferred_name\":\"${user.customproperty7.replaceAll(\"\"\",'')}\",\"u_cost_center_str\":\"${user.customproperty29}\",\"manager\":\"${userManager.email}\",\"title\":\"${user.title}\",\"vip\":\"${if(user.customproperty56!=null && (user.customproperty56.toString().toUpperCase()).equals('V')){'true'}else{'false'}}\",\"u_xip\":\"${if(user.customproperty57!=null && (user.customproperty57.toString().toUpperCase()).equals('X')){'true'}else{'false'}}\"}", "httpHeaders": { "Authorization": "${access_token}" }, "httpContentType": "application/json", "unsuccessResponses": { "error.message": "Operation Failed" } } ] }