Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon
100% helpful (1/1)
SB
Saviynt Employee
Saviynt Employee

Symptoms

Requirement is to writeback email from any Saviynt's attribute to Workday. The workday endpoint is a REST endpoint because the email is being written back to a custom object on Workday which cannot be updated through SOAP API.

Diagnosis

The user's email needs to be written back in Workday. The email is getting updated in Saviynt from a different source and the same should be provisioned to WD.

Solution

In order to achieve this, we need to follow the standard approach of creating a User update rule and under the Action section we need to ensure to select 'Update Login' option

WD Action.jpg

This same value of 'Update Login' is to be used in our UpdateUserJSON under call name.

The value is case sensitive.  Below is a reference of the json to be used. 

{
"actions": {
"Update Login": {
"call": [
{
"name": "Update Login",
"callOrder": 0,
"connection": "acctAuth",
"url": "https://abc.workday.com/ccx/api/staffing/v2/TEST/workers/Employee_ID=${user.username}",
"httpMethod": "GET"
},
{
"name": "Update Login",
"callOrder": 1,
"connection": "acctAuth",
"url": "https://abc.workday.com/ccx/api/staffing/v2/TEST/workers/${response.'Update Login'.message.id}/workContactInformationChanges",
"httpMethod": "POST"
}
}
}
}

Note: In case of multiple calls, the response will be used of the immediate previous call ${response.'Update Login'.message.id}/

Comments
gauravchandok
Regular Contributor
Regular Contributor

@SBCan you post the complete json with httpParam, do you have the link for Workday Rest API?

SB
Saviynt Employee
Saviynt Employee

@gauravchandok I unfortunately do not have the complete JSON. You can create a REST JSON based on the working postman call. You can refer to the REST Guide for the same.

Examples for JSON Construction and Developers Handbook in below documentation

https://docs.saviyntcloud.com/bundle/REST-v23x/page/Content/Developers-Handbook.htm

gauravchandok
Regular Contributor
Regular Contributor

I was hoping to get the API details from you...

I hope https://community.workday.com/sites/default/files/file-hosting/restapi/index.html#staffing/v6/post-/... is the correct API for this use case.

Thanks

ag420
Regular Contributor
Regular Contributor

Can  you tell more about the update login use case. Are there more such rules and json or any other docs for this?

Version history
Last update:
‎01/09/2023 09:03 AM
Updated by:
Saviynt Employee
Contributors