We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Workday provisioning issue

AshirvadhN
Regular Contributor
Regular Contributor

Hi Everyone,

We are doing workday phone  number write back.

We are bringing phone number from AD to Saviynt and From Saviynt to Workday we are to update.

Once phone number updated in saviynt user update rule is helping us by creating UPDATE USER task.

Once am trying to run the provisioning job we are getting error.

AshirvadhN_0-1700646427611.png

 

We have created pure SOAP connection and used the update user json.

[{ "CONNECTION": "login", "REQUESTXML": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\" xmlns:bsvc=\"urn:com.workday\/bsvc\"><soapenv:Header><wsse:Security xmlns:wsse=\"http:\/\/docs.oasis-open.org\/wss\/2004\/01\/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http:\/\/docs.oasis-open.org\/wss\/2004\/01\/oasis-200401-wss-wssecurity-utility-1.0.xsd\" soapenv:mustUnderstand=\"1\"><wsse:UsernameToken wsu:Id=\"UsernameToken-BEA25D402A75AA799314569409086944\"><wsse:Username>ISU_Saviynt@compass4<\/wsse:Username><wsse:Password Type=\"http:\/\/docs.oasis-open.org\/wss\/2004\/01\/oasis-200401-wss-username-token-profile-1.0#PasswordText\">Radiansaviynt@2023!<\/wsse:Password><\/wsse:UsernameToken><\/wsse:Security><\/soapenv:Header><soapenv:Body><bsvc:Change_Work_Contact_Information_Request bsvc:version=\"v40.0\"><bsvc:Change_Work_Contact_Information_Data><bsvc:Person_Reference><bsvc:ID bsvc:type=\"Employee_ID\">${user.employeeid}<\/bsvc:ID><\/bsvc:Person_Reference><bsvc:Event_Effective_Date>2023-07-11<\/bsvc:Event_Effective_Date><bsvc:Person_Contact_Information_Data><bsvc:Person_Phone_Information_Data bsvc:Replace_All=\"true\"><bsvc:Phone_Information_Data bsvc:Delete=\"false\"><bsvc:Phone_Data><bsvc:Device_Type_Reference><bsvc:ID bsvc:type=\"Phone_Device_Type_ID\">1063.5<\/bsvc:ID><\/bsvc:Device_Type_Reference><bsvc:Country_Code_Reference><bsvc:ID bsvc:type=\"Country_Phone_Code_ID\">USA_1<\/bsvc:ID><\/bsvc:Country_Code_Reference><bsvc:Complete_Phone_Number>${user.phonenumber.replaceAll(\/\\D\/, '').substring(1)}<\/bsvc:Complete_Phone_Number><\/bsvc:Phone_Data><bsvc:Usage_Data bsvc:Public=\"true\"><bsvc:Type_Data bsvc:Primary=\"true\"><bsvc:Type_Reference><bsvc:ID bsvc:type=\"Communication_Usage_Type_ID\">Work<\/bsvc:ID><\/bsvc:Type_Reference><\/bsvc:Type_Data><\/bsvc:Usage_Data><\/bsvc:Phone_Information_Data><\/bsvc:Person_Phone_Information_Data><\/bsvc:Person_Contact_Information_Data><\/bsvc:Change_Work_Contact_Information_Data><\/bsvc:Change_Work_Contact_Information_Request><\/soapenv:Body><\/soapenv:Envelope>","SOAPACTION": "soap.action.string", "RESPONSEMAPPING": { "task.comments": "Success" } }]

 

3 REPLIES 3

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @AshirvadhN,

We are checking on this and we will provide you an update shortly.

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @AshirvadhN,

It seems like you’re encountering an error when trying to write back phone numbers from Saviynt to Workday. The error message suggests that the phone number field is required in Workday, and if it’s left blank in Saviynt, the update process fails.

Here are a few suggestions that might help:

Check the Validation Rules in Workday: The error might be caused by Workday validation rules. If possible, you could try to turn off the validation for the phone number fields1.

Ensure All Fields Are Populated: The error occurs when any of the fields (email, work phone, mobile phone, fax) are left blank. Ensure that all these fields are populated in Saviynt before attempting to write back to Workday.

Use Default Values: If it’s not possible to ensure that all fields are always populated, you might consider defining an expression to check for empty or null values and pass a non-blank default value2 For example, you could use something like this: IIF(IsNullOrEmpty([telephoneNumber]),"000-000-0000", [telephoneNumber]).

Please validate and let me know if you need help with anything else.

AshirvadhN
Regular Contributor
Regular Contributor

Accepted the Solution