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 fails when field ...
Power Automate
Unanswered

Flow fails when field is blank.

(0) ShareShare
ReportReport
Posted on by 457

The error I get is 

Unable to process template language expressions in action 'Compose' inputs at line '1' and column '2877': 'The template language expression 'triggerBody()['text_6']' cannot be evaluated because property 'text_6' doesn't exist, available properties are 'text, text_1, text_2, text_3, boolean, boolean_1'. 

 

I've tried the following formula, found here, but it's not working. 

 

 

if(empty(outputs('Compose')),null,outputs('Compose'))

 

 

 

The result should be that this value is entered in an excel sheet. There are plenty of other fields in this flow that don't cause a problem when left blank. It's only when I add this item and leave it blank that an issue occurs. 

 

Screen Shot 2021-01-07 at 1.52.54 PM.pngScreen Shot 2021-01-07 at 1.54.34 PM.png

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

    Hi @anthonys123,

     

    You could set the Configure run after in the following action setting to make sure when the Sales/PM field is empty Flow could run continue.

    If the Compose action runs successfully, go to branch that adds the Sale/PM into the Excel;

    If the Compose action runs failed, go to branch that adds the empty value into the Excel.

     

    Screenshot 2021-01-08 132824.jpg

     

    Screenshot 2021-01-08 132842.jpg

     

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

  • anthonys123 Profile Picture
    457 on at

    Thanks. While I figure out how to make this overly complex workaround work, is there a reason why I only need to do this for just one of my fields? I have 14 other fields that don't result in an error if left blank. 

  • v-litu-msft Profile Picture
    on at

    Hi @anthonys123,

     

    I'm just giving an example of how this method can be used. If there are fourteen other such fields to judge, I'm afraid you'll have to repeat the structure mentioned in my previous reply fourteen times.

     

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

  • anthonys123 Profile Picture
    457 on at

    You're saying I need to repeat this for fields that are working? Not only do I have 14 fields that are working, I have this flow repeating 6 times for each branch of our office. So, that would be 84 time consuming bandaids for something that should work out of the box. 

  • Verified answer
    anthonys123 Profile Picture
    457 on at

    @v-litu-msft I think I'm just going to send these values to a SharePoint List instead of Excel. Hopefully the boss is okay with that. I can't spend a week applying and testing bandaids for these simple flows. 

  • v-litu-msft Profile Picture
    on at

    Hi @anthonys123,

     

    SharePoint is a wise choice.


    Best Regards,
    Community Support Team _ Lin Tu

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard