web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need help to fix the b...
Power Automate
Answered

Need help to fix the bug in recurrence Trigger flow

(0) ShareShare
ReportReport
Posted on by 6

Requirement: Using PA free License. Trigger the flow everyday at 6.30pm to check if a specific subjected email is received in a mailbox. If received move it backup folder, if not received send email notification to Service Desk.

 

Attached the error flow for reference

 

Apply to each -> value 

Condition -> item()?['Subject'] contains 'Test'

 

Error: Cannot read properties of undefined message id

 

 

Recurrence flow.JPG
Categories:
I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @Swetha_S 

     

    I don't understand why you have used two triggers in flow which is not allowable.

     

    Recurrance trigger (which you have used at top) is the trigger which makes the flow to run at specified time in a scheduled manner.

    while when mail arrives is another trigger which triggers when mail arrives, and one thing to note is you can't place two triggers in your power automate workflow.

     

    In your case, flow should be like this:

     

    1. use recurrance to run it daily at 6:30 p

    Nived_Nambiar_0-1704481206271.png

     

    2. use get emails to get all emails with a specific subject from specific folder in outlook account (in my case, i am using subject filter as Issue with XYZ System)

    Nived_Nambiar_1-1704481275174.png

     

    3. use condition action to check whether there are mails available with that subject filter as part of get emails output

    Nived_Nambiar_2-1704481333687.png

     

    Expression used in Left side:  length(outputs('Get_emails_(V3)')?['body/value'])

     

    if the condition is true (ie emails are present)

     

    then use apply to each to loop through each emails and then move the mail to designated folder like below

    Nived_Nambiar_3-1704481406839.png

     

    (in my case, i am moving to NN folder)

     

    if condition is false, use send email in no branch like below

    Nived_Nambiar_4-1704481462416.png

     

     

    Overall flow looks like this:

    Nived_Nambiar_5-1704481493679.png

     

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Swetha_S Profile Picture
    6 on at

    Thank you Nived for the quick response. This solution worked!!!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 62 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 58

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard