Open JackBuchanan opened 3 months ago
Hi @JackBuchanan,
Thanks for your PR!
Regards, Serhii
Hey @JackBuchanan Apologies, I'd marked this Approved but have just found a possible issue, (and don't seem to have permissions to dismiss my approval review)
However:
It looks as though the value may be lost when trying to convert to another enum type, when set through workflow.
For example, in this gif, I try to port the value from a Dropdown field to a Multienum field. However, the value is lost.
I believe this was possible before this change, so perhaps something that needs addressed.
Would you be able to investigate when you get a moment? Thanks!
Update how enums fields are handled when setting workflow values
Description
Add extra case to switch statement to handle enums When a varchar is being set to the value of an enum use the enum label When a enum is being set to the value of an enum use the enum key
Motivation and Context
Fixes issue with varchars being set with enum key values
How To Test This
See #10382
Types of changes
Final checklist