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 / Automated Flow for for...
Power Automate
Answered

Automated Flow for form sections

(0) ShareShare
ReportReport
Posted on by 9

Hi, I have created a flow for a form I have created. The form has 8 sections: each form submission will have section 1 completed, as well as ONE other section.

 

My flow is as follows: when a new response is submitted, get response details, compose 1-8, condition 1+2 (section 1 and 2 completed), condition 1+3, condition 1+4 and so on. Each condition triggers an email detailing response details from section 1 and the completed section. 

 

I have inserted an example of the flow assuming the respondent fills in section 1 and 2. 

loupriestley_0-1678893688806.png

So just to recap, I have CS1 - CS8. 

 

Here is the condition section for condition 1+2 (when section 1 and 2 are completed). 

loupriestley_1-1678893751223.png

When testing the flow, it does work in that an email is sent in the format of 'Send an email (V2)' as shown above. However, an email is sent for the 6 other conditions. In other words, all expressions are 'true', even though only section 1 and 2 are filled in on the test form. I'm not sure where I am going wrong. Can anyone help? 

 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @loupriestley ,

     

    When only sections 1&2 are filled, what result do you see of the other Compose in flow run history?

     

    Best regards,

  • Verified answer
    loupriestley Profile Picture
    9 on at

    Hi , I have now resolved this issue. For information, I resolved it by doing the following;

     

    In CS2 Removed the line break so its

    [Holiday Pay][Email]

    Used the expression Trim to get rid of white space

    E.g.

    trim([Holiday Pay]) trim([Email])   

    So that box is now empty/null meaning it won't fire.

     

    I also changed the condition;

    instead of CS2 does not equal null to expression;  

    length(CS2) is greater than 5 [So it makes sure what they type is more than 5 characters long 5 for white space each question and space in middle.

     

    This worked and my flow is now triggering an email with details of only completed sections 🙂 

    @v-jefferni

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard