web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow populating empty ...
Power Automate
Unanswered

Flow populating empty documents

(1) ShareShare
ReportReport
Posted on by 2
Hello all! New Power Automate user, and 365 novice in general.
 
I have created a workflow to populate a Word template from an MS Form submission. The flow includes a switch to determine which of 6 templates will be populated (based on the state selected in the form), and in testing, everything works: testing for each of the six cases selects the appropriate template and generates a file with the correct name and along the correct path. However, only one case produces a valid populated Word document; the others are 4 byte files that either do no open or, if they do open, contain the content "null." 
 
I noticed that this template is the one associated with he first case in the switch, so I changed the order of the cases, and it turns out that the workflow is only generating a valid document for whichever case happens to be the first in the switch, and I do not know how to proceed from here.
 
Please explain in the simplest terms possible, please -not a coder here- and thanks in advance!
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,392 Super User 2025 Season 2 on at
    Hi,
     
    I am going to stop you. This is a Flow help forum. We cannot see your flow or whats in your head. Please share the flow, along with pictures of errors or issues annotated there.
     
    Paragraphs will either get you no answers, or we have to go back and forth constantly to get details.
     
    You bring and share everything :-) then we help and you get good answers.

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard