
Announcements
Hi
So I have created a powerautomate to create a planner task after a form is submitted. Users have the option to include an attachment on the form. I'm a bit stuck because I want to create a condition to check if there is an attachement and if so to parse JSON and if not to continue to the next step.
I'm a bit stuck because when I test it, it doesn't seem to like my condition. I'm also not sure if I need to add an action to the 'if yes' section so it skips the parse json and just continues to the next condition.
I'm fairly new at this so sorry if this is super obvious.
Thanks
Hi @clashingblues12 ,
Judging from the flow error screenshots and flow process screenshots you provided,
The reason for the error is:
You added "Please" to the content parsed by [Parse JSON], which caused the parsing to fail
Do you want to determine whether a user has uploaded a file?
Please try:
You don't need to set anything in the case of "Yes", and the flow will continue to execute to the next [Condition]
There is another solution, check this link:
Solved: Re: MS Flow failing when there is no attachment/s - Power Platform Community (microsoft.com)
Hope this helps you
If this post helps, then please consider Accept it as the solution to help the other members find it.
Best Regards
Cheng Feng