cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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




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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (48,667)