I have a CDS entity with a number of fields based on option sets. I am trying to populate the entity with values from another data source. When trying to write to the option set field I am unable to pass a text value (that is in the option set) to the field - it requires an integer value. Is there a way to either update the field with a text value or lookup and pass the index value of the item in the option set?
Hi, Has anyone found a solution on this?
Hi @Anonymous,
Could you please share a screenshot of the configuration of your flow?
Could you please explain more details about your issues?
If the field requires an integer value,have you take a try to formate the text value to integer type with expression int() as below:
int(Dynamic content of text value)
Please share more details so we would try to provide a proper workaround for you.
Best regards,
Alice
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1