r/u_Recent-Bicycle6738

▲ 2 r/u_Recent-Bicycle6738+1 crossposts

Workday Studio REST POST – Adding/Updating Values in Custom Object

Hi everyone! Has anyone here experienced using REST POST/Workday REST API from Workday Studio to update or add values to a Custom Object?
I’m currently working on a project where we’re trying to automate the process of updating/adding values to a Custom Object using Workday Studio.

Use REST POST to update the Custom Object

The Custom Object is non-effective-dated and single-instance

Target is Worker

We’re using the Custom Object API endpoint with updateIfExists=true

The issue I’m encountering is:
✅ If the custom field already has an existing value:
The REST POST successfully updates the value.
❌ If the custom field is currently blank:
The REST POST fails with an error when trying to populate/add the value for the first time.
Has anyone encountered this behavior before?
I’m wondering if the issue is related to:
The updateIfExists behavior

The REST API version being used (V1 vs V2)

The payload structure when the existing value is blank/null

How Workday handles creating the first value in a Custom Object

Whether a different REST method or endpoint is required to add a value versus update an existing value

What could be causing this, and what would be the recommended approach in Workday Studio to populate a previously blank Custom Object field?
Any examples of the correct endpoint/payload structure or guidance would be greatly appreciated. Thanks!

reddit.com
u/Recent-Bicycle6738 — 12 days ago