Scripting (Updating Single Select value from another table select value)

I am trying to update the Single Select value with an update query. I am tacking the value from another single select field. Values are exactly the same, but it doesn’t update for some reason. Has anyone got the answer to how to do it?

But I get an error: Error: Field "fldax5f6gPgS23wMU" cannot accept the provided value.

table.updateRecordAsync(${inputConfig.record_id}, { single_select_field: another_single_select.name})

Found the answer in another thread (How to match / write into a single-select field?)

2 Likes