Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

(0) ShareShare
ReportReport
Posted on by

hi expert

i am getting an error when i try t run the flow. 

can you help me on this

pokhani_0-1657039454689.png

 

  • nich3play3r Profile Picture
    nich3play3r 236 on at
    Re: power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

    Thanks a lot for taking the time to walk through this with me, @ScottShearer . Every time I use the conditions interface I end up wishing it were more robust (code suggestions, at least?) I also wish the "failure" message were more elegant. Since there are at least 3 different ways to code a given solution, showing me a red popup with an ambiguous warning doesn't help me and actually hurts, in this case. What about, "Trigger conditions for execution not met?"

     

    Anyway, I thank you again!

  • ScottShearer Profile Picture
    ScottShearer 25,150 on at
    Re: power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

    @nich3play3r 

    The idea that the "error" is generated when the conditions aren't met makes sense.  I should have thought of that....

    This is why I love the Power Automate Community site!  I am still learning every day.

     

  • nich3play3r Profile Picture
    nich3play3r 236 on at
    Re: power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

    Well, this is a hoot, @ScottShearer . Apparently that message is how the flow fails when the conditions in the trigger aren't met? I changed my settings to those pictured below, and the flow ran successfully. I wonder how I'll definitively know whether a flow I'm setting up will actually run on the day and month specified in my trigger conditions....

     

    2022-11-03 14_24_00-Window.png

     

     

  • ScottShearer Profile Picture
    ScottShearer 25,150 on at
    Re: power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

    @nich3play3r 

    That is odd....

    I ran a test and did not have the same experience - it ran fine and executed as it should have.

    You might try using two expressions (hit the + sign) instead of one.  Remove the "and" expression and use two expressions on two lines and see if it works.

     

  • nich3play3r Profile Picture
    nich3play3r 236 on at
    Re: power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

    Thanks very much for this reply, @ScottShearer . It's weird. Changing the code as you suggest appears to have validated OK, and when I go to test the flow, it says the flow completed successfully. But when I hit "Done," I get the same error, and the execution that supposedly ran successfully doesn't show up in my run history. I've confirmed that the trigger condition is what's causing the trouble by removing it and testing the flow, which succeeds and appears in the run history. Beats me....

  • ScottShearer Profile Picture
    ScottShearer 25,150 on at
    Re: power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

    @nich3play3r 

    If you change 'DD' to 'dd' I believe your issue will be resolved.

     

  • nich3play3r Profile Picture
    nich3play3r 236 on at
    Re: power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

    I'm having what appears to be (?) a related issue, @ScottShearer . I have a trigger set to run every 1 month, then in the trigger Settings, I've added this condition:

     

    @and(equals(utcNow('DD'),'01'), equals(utcNow('MM'),'08'))

     

    When I test the flow without this condition, it runs fine. When the trigger condition is there, the flow fails with the ambiguous "Cannot read properties of undefined (reading 'properties')" error.

  • Re: power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

    hi I did try multiple times but since yesterday am having an issue and was supposed to send a monthly reminder (first working day of the month) to update the sharepoint list visa lined power apps.

    pokhani_0-1657040603013.png

     

  • ScottShearer Profile Picture
    ScottShearer 25,150 on at
    Re: power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

    @Anonymous 

    It is possible that this is a temporary error - tray again...

    If you still see the error, can you expand the trigger and the get items action and post another screen shot?

     

  • Shuvam-rpa Profile Picture
    Shuvam-rpa 889 on at
    Re: power automate error while running the flow: "Cannot read properties of undefined (reading 'properties')"

    @Anonymous as i check in other threads , people solve this issue by just recreating there connection again. so just try to make a fresh connection on sharepoint and outlook action.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard