Hi all,
I want to execute a flow, only if a people field is not empty.
I´ve tried this solution with the length expression, but I still get an error message (unfortunately not in english)
The expression is:
length(item()['Responsible_x0020_Manager'])
Solved! Go to Solution.
Please see my solution below. I have a person or group column titled PG and I am checking for a null value in the email. I have tested this solution and it works as intended.
Hi @Chriss1982
Check this post
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsPlease see my solution below. I have a person or group column titled PG and I am checking for a null value in the email. I have tested this solution and it works as intended.
Hi @Chriss1982 ,
Could you share all the screenshots of the Flow configuration?
I noticed that you used item()['Responsible_x0020_Manager'], so the references seem to need to be included in Apply to each, or in Filter array.
Please provide us the source of this field value, whether it is the output of the trigger or the output of other actions.
If it comes from a trigger, then the expression needs to be:
length(triggerBody()['Responsible_x0020_Manager'])
If you come from Get items action, then this Condition needs to be configured in Apply to each, just like the methods involved in the link you provided.
Also please need to ensure the correctness of the field name Responsible_x0020_Manager.
Best Regards,
Hi @ScottShearer,
thanks for sharing your solution.
It works with Email and Display Name as well. I´ve choosed the Displayname, because this is the one, which I´ve tried to validate.
Also thanks to all others for your thoughts.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
41 | |
40 | |
37 | |
34 | |
30 |
User | Count |
---|---|
52 | |
38 | |
36 | |
32 | |
24 |