cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
karldenton
Helper II
Helper II

Flow Failing with Null

Hi

I have created a Micorosft Form that staff fill out to change there personal details. If they need to change their name, they need to upload evidence, but if they change address they don't need evidence.

 

However, the flow fails when they don't upload evidence

 

InvalidTemplate. Unable to process template language expressions in action 'Parse_JSON' inputs at line '1' and column '2772': 'Required property 'content' expects a value but got null. Path ''.'.

 

I've tried adding a condition first to check if "Evidence" is blank but it doesn't work

 

Any suggestions please

 

Flownotworking.JPG

2 REPLIES 2
Jcook
Super User III
Super User III

Hello,

In your condition try using the empty expression in the first field like this:
Empty(<SELECT dynamic content evidence>)
And in the second field use the expression:
true

Thanks

--Josh

If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others</SELECT>

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





rocamp
Microsoft
Microsoft

Hi @karldenton 

 

The dynamic content doesn't seem to work for me when trying to use the condition as:

 

@empty(DynamicContent) is equal to True

 

but I did seem to get it to work by putting the dynamic content Evidence into a Compose action and then using the Compose in the empty expression:

 

@empty(outputs('Compose')) is equal to False

 

I also changed it to equal False so that when the compose is empty it moves to if no not if yes.

Capture.JPG

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (38,632)