github →

New request

#15861: [Workflows] Updating a SELECT type field using its label (and not the API name) is no longer working

We'll provision a sandbox, run an agent against the issue, and open a draft PR. You can pull the branch and iterate from there.

Issue
prio: medium

Bug Description

I got this error in my workflow run when trying to update a SELECT type field with an input that has a value "Active".

<img width="499" height="206" alt="Image" src="https://github.com/user-attachments/assets/b9d288d4-c1f3-4567-851c-160a7e33b8ad" />

Field used to update the record <img width="390" height="76" alt="Image" src="https://github.com/user-attachments/assets/eb7af6da-7383-4659-b187-9030dd57c87d" />

Value of the input: <img width="314" height="42" alt="Image" src="https://github.com/user-attachments/assets/31741913-eb12-4f51-8fe9-fa966a53b786" />

Value of the SELECT type field <img width="592" height="694" alt="Image" src="https://github.com/user-attachments/assets/2920c152-e410-450a-ab09-00624008607f" />

Expected behavior

Have the updates based on the label, at least as soon as the update is not done via an explicit API call but using the workflow UI. I think we should assume that many users are not aware of the advance mode and that they should not be expected to use the API name for the updates.

The workaround I'm doing is to format all the inputs using a code step before. It does the work but should not be considered to expected behavior IMO.

Thank you!

Assessmentadvisory
bug●● medium85% confidence

Workflow update action fails to resolve SELECT field values by user-facing label.

Likely files
  • packages/twenty-server/src/engine/core-modules/workflow/workflow-executor/workflow-actions/update-record/update-record.workflow-action.ts
  • packages/twenty-server/src/engine/metadata-modules/field-metadata/utils/select-label-to-api-name.util.ts
  • packages/twenty-shared/src/workflow/schemas/update-record.schema.ts
Create the request

This opens a fresh agent run and a draft PR for issue #15861.

Cancel