cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
medflow
Regular Visitor

Help with statement (condition = Image uploaded or not?)

Hello,

 

I need help to write a condition. I'm using Microsoft Forms to make an automated helpdesk. The only thing is, if an image is uploaded, then the "yes" statement should be issued. If not, then the "no" statement. I can't make this work. Any help with be much appreciated!

 

helpwiththis.png

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @medflow ,

 

The screenshot below would work when no file is attached:

1.png

 

Best regards,

Alice   

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-alzhan-msft
Community Support
Community Support

Hi @medflow ,

 

You could refer to screenshot below to create the flow:

1.png

The length expression in the Condition as below:

 

length(body('Filter_array'))

 

You could refer to link below for the parse JSON part:

https://www.bythedevs.com/post/working-with-files-on-ms-forms-group-form-in-ms-power-automate

 

Best regards,

Alice   

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hello @v-alzhan-msft 

 

Thanks for helping will this also work when no image is attached in the Microsoft Form?

Will the Flow be continued even without image?

 

Because users have to fill in the Form, with or without a screenshot, and then click on the send button. 

Hi @medflow ,

 

The screenshot below would work when no file is attached:

1.png

 

Best regards,

Alice   

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks @v-alzhan-msft this was the solution, now we have another little problem.

I have created the flow just like your picture:

 

request.PNG

 

The problem is: "voorwaarde" and "voorwaarde 2" are both choices users can made in Microsoft Forms. If a user chose "Glims", the left flow will trigger. If a user chose "overige" the right will trigger. Now both are triggered because there is nothing at "if no". How can I stop the flow and only trigger the good flow?

 

If this little problem is solved, then I can finally move on.

 

Thanks in advance!

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (92,382)