I am connecting to Dynamics 365, and want to have a condition that checks if an Option Set value is equal to "Yes". In CRM though, option sets have values like 3000758, which is what comes through in Flow. How can I get the text of an option set field? Do I have to use the int value of the option set field?
Solved! Go to Solution.
You can add comments in your flow templates. I would prefer to check via number than a hardcoded text. If the text changes then there are depencies like flow and others to change which won't be a good design in my opinion.
@hazems another good point on why this would be useful. I can see arguments both ways on why we should/shouldn't be able to do this, but I think it the user should be able to use their discretion on whether or not to pull text vs. value.
I agree with @Shannon and have voted for this feature. I need to show the text rather than the numeric value in an email. The numeric value means nothing to the email recipient.
Found the easy solution add a label to the suffix to the field attribute schema name.
Example: Field attribute "ab_accountype" replace with "_ab_accounttype_label"
Which works for me.
We also want to read a record and send an email, one of the values is an option set but it looks like currently we can't read the text value - the numbers are meaningless so looks like we would have to hardcode them in in the flow and use a switch statement as this is the only workaround I have seen.
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!