Skip to main content
Community site session details

Community site session details

Session Id : Lo9U9sZ9mdPM9xy2xt1Coh
Power Automate - Using Flows
Answered

Flow - keeps failing - but still runs

Like (0) ShareShare
ReportReport
Posted on 25 Feb 2020 10:48:50 by 4

Can any one help (i am very new to Flow)- i have a flow that keeps failing, however the flow Runs as expected and the emails are sent. So i guess it is a false positive.  

 

The flow is very simple - it checks the date in a column and if 30 days before the Renewal date or expiry date it will send a email to the Group. 

 

The below is the Error message i am getting - However the Flow Works

ActionFailed. An action failed. No dependent actions succeeded.

 

Unable to process template language expressions for action 'Check_product_expiry_date' at line '1' and column '2901': 'The template language function 'formatDateTime' expects its first parameter to be of type string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#formatdatetime for usage details.'.

 

Steps taken to Resolve and Flow Test  complete Successfully   - However the Flow DOES NOT Work

In the 'Check product Expiry Date' i have changed the Dynamic Content to the actual column Name (rather than the expression-

formatDateTime(item()?['jl0n'], 'dd/MM/yyyy'). the test passes but the flow does not find the any dates. my logic is that that there might be a mismatch of date formats and as such the expression puts them in all the same date format... but then i get the error, but it still works

 

Any help would great attached is the pictures 

 

ralph

Flow1.PNGFlow2.PNGFlow3.PNGFlow4.PNGFlow1-1.PNG

 

 
  • Verified answer
    DeepakS Profile Picture
    2,301 Most Valuable Professional on 25 Feb 2020 at 16:48:16
    Re: Flow - keeps failing - but still runs

    Hi @RalphC 

     

    Apply to each action is error handled, so if it fails in one item it move to next, and this is what happening in your case. if you click on "Next Failed" you know for witch item your condition is failing.

    Now the error that you are getting is because for few of the items (item()?['jl0n'] ) is empty.  so should  check if it is null before  format expression.

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Restore a deleted flow
Loading complete