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 / Parent/Child Flow: Chi...
Power Automate
Unanswered

Parent/Child Flow: Child fails when checking for a null condition from list

(0) ShareShare
ReportReport
Posted on by 80

I have a parent/child flow (because my original flow goes way past 9 levels). In a much simplified example, the parent flow checks two conditions: One, if the user checked a box or not. Simple enough, works great. If the user checks yes, then we pass to the child to evaluate the next condition: Pick a pick list value -> condition is Yes; Don't pick a value ->something else will happen. It's important to note that the Sharepoint Picklist column that this condition is checking is optional. The user can pick one of the values, or leave it NULL. I CANNOT change this column to required per the business requirements of the list. 

 

tpcolson_1-1713645959654.png

 

And here is the child flow where I define the inputs that I'm passing from the parent: 

 

tpcolson_2-1713646019208.png

 

So when I test the child flow with 

 

tpcolson_3-1713646148675.png

 

It fails with 

 

Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language expression 'triggerBody()['text_3']' cannot be evaluated because property 'text_3' doesn't exist, available properties are 'number, text, text_1, text_2, boolean, boolean_1'. Please see https://aka.ms/logicexpressions for usage details.'.

 

 

Where 'text_3' is that last input "GUEST_ACCOUNT_TYPE". 

I made GUEST_ACCOUNT_TYPE optional as confirmed by the schema: 

 

 

{
 "type": "object",
 "properties": {
 "number": {
 "title": "LIST_ID",
 "type": "number",
 "x-ms-dynamically-added": true,
 "description": "Please enter a number",
 "x-ms-content-hint": "NUMBER"
 },
 "text": {
 "title": "Why",
 "type": "string",
 "x-ms-dynamically-added": true,
 "description": "Please enter your input",
 "x-ms-content-hint": "TEXT"
 },
 "text_1": {
 "title": "UNIT_CODE",
 "type": "string",
 "x-ms-dynamically-added": true,
 "description": "Please enter your input",
 "x-ms-content-hint": "TEXT"
 },
 "text_2": {
 "title": "UNIT_NAME",
 "type": "string",
 "x-ms-dynamically-added": true,
 "description": "Please enter your input",
 "x-ms-content-hint": "TEXT"
 },
 "boolean": {
 "title": "GUEST",
 "type": "boolean",
 "x-ms-dynamically-added": true,
 "description": "Please select yes or no",
 "x-ms-content-hint": "BOOLEAN"
 },
 "boolean_1": {
 "title": "AUP",
 "type": "boolean",
 "x-ms-dynamically-added": true,
 "description": "Please select yes or no",
 "x-ms-content-hint": "BOOLEAN"
 },
 "text_3": {
 "title": "GUEST_ACCOUNT_TYPE",
 "type": "string",
 "x-ms-dynamically-added": true,
 "description": "Please enter your input",
 "x-ms-content-hint": "TEXT"
 }
 },
 "required": [
 "number",
 "text",
 "text_1",
 "text_2",
 "boolean",
 "boolean_1"
 ]
}

 

 

The error message is clear: since the input was defined, it's expecting a value. But why can't I use lack of a value (text string) in the condition? 

Categories:
I have the same question (0)
  • Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at

    This is a bug in the designer. If you change the field to optional, the designer doesn’t recognize this immediately. You can save the flow, reload it and grab the dynamic content again or you can put in the question mark by yourself.

     

    triggerBody()?['text_3']

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