Hi,
I need some help with my flow. I am trying to check if a column or metadata in a library is empty or not.
We have document library wherein when they upload a new file, they need to enter an info in the required columns. But it seems with SharePoint, they are not forced to enter those required fields and the file will still be uploaded. So instead, we created a flow to send an email to the uploader if the required fields is empty. I am trying to use expressions in the conditions to check if the required field is empty.
Here's the screenshot of my flow for the condition.
If the field is empty, I encounter this error on my flow. Attaching the screenshot.
Thanks in advance for any help and ideas to solve this!
Solved! Go to Solution.
Hi @julieann,
Please remove the Equals(, '') function.
Here use Empty() is enough to check if the field has no value.
Change the formula in your condition as below:
@Empty(body('Get_file_properites')['Key_x0020_Control'])
Doing this should make it work.
Regards,
Michael
Hi @julieann,
Please remove the Equals(, '') function.
Here use Empty() is enough to check if the field has no value.
Change the formula in your condition as below:
@Empty(body('Get_file_properites')['Key_x0020_Control'])
Doing this should make it work.
Regards,
Michael
Thanks for the reply.
Tried to edit the flow as you suggested. But I'm still having the same error
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
21 | |
18 | |
11 | |
10 | |
8 |
User | Count |
---|---|
31 | |
27 | |
26 | |
17 | |
16 |