Hello everyone,
I have two fields in my table
1. Reason - text
2. ReasonCode - optionSet
I have written plugin which will trigger on record creation, I want to set value for Reasoncode based on the value in Reason field.
I have around 35 options in the Reasoncode. Is there any other way I can do this rather than using 35 if or case conditions?
Thank you...