Notifications
Announcements
I have to compare a number with an Option Set field, like the following statement in a condition but it fails 3 in Team.poste_portfoliohierarchy Any help?
@BlackRos
Do you mean the 'poste_portfoliohierarchy' is an OptionSet field and you want to check if the 3 is in that field?Is '3' one of the Options of 'poste_portfoliohierarchy' field?
If so, the codes should be:
'poste_portfoliohierarchy(Team)'.'3' in Team.poste_portfoliohierarchy
Sik
I have this statement
ClearCollect(UfPost;Filter(UtentiCol;Userid = systemuserid).'Team (teammembership_association)'.'Ufficio Postale'.'poste_name';false in Team.poste_isportfolioservice &&3 in Team.poste_portfoliohierarchy &&0 in Team.poste_portfoliotype &&false in Team.isdefault && "dico_" in Team.name)
Here
3 in Team.poste_portfoliohierarchy &&0 in Team.poste_portfoliotype &&
not working
Team.poste_portfoliohierarchy is a option set
Team.poste_portfoliotype too
Sorry, your
'poste_portfoliohierarchy(Team)'.'3' in Team.poste_portfoliohierarchy.Team
Can i verify anithing for you?
Are 3 and 0 an option in the options set?
What is the option set name? (Option set name could be different from the Option set field name)
Could you share the more about the OptionSet field as follows?
What I can tell you is the syntax:
'option set name'.'3' in EntityName.'option set field name'
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268