Announcements
Hi,
I have successfully created a flow that converts one image to pdf, but the method is hard coding the file path.
If I try to use a dynamic path, then I can not initiate a variable (I get an error).
Any ideas?
You need to initialize the variable outside apply to each.You can only set a variable in apply to each action.
Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.Thanks,Rahber
The images show up blank if I put the variable outside:
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 427
Vish WR 316
David_MA 260 Super User 2026 Season 1