cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

TRIGGER CONDITION: Bug?

Hello,

I believe I found a bug in Trigger Conditions. 

Steps to reproduce:

  1. Recurrance Trigger set to run every 48 hrs. with a start time of 2019-10-10T04:00:00, CST
    1. Trigger Condition of: 
      1. @or(equals(dayOfWeek(utcNow()),1),equals(dayOfWeek(utcNow()),3),equals(dayOfWeek(utcNow()),5))
    2. This Flow will run at 0400 CST on Mon/Wed/Fri
  2. Make edits to Flow
  3. Save and Test
    1. Using EITHER "I'll perform the action" or "Test using previous"
    2. Results in the error message: 
      1. "Unable to read propery xyz..."
  4. Remove Trigger Condition
    1. Save and Test
    2. Test runs without error
  5. Click Edit
  6. Replace Trigger Condition
  7. Save and Test
    1. Test runs without error

Seems to only occur when edits have been made to a Flow with Trigger Condition. Removing Trigger Condition, testing, then re-adding Trigger Condition fixes the issue.

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: TRIGGER CONDITION: Bug?

Hi @ericonline 

 

correct syntax is 

@or(equals(dayOfWeek(utcNow()),1),or(equals(dayOfWeek(utcNow()),3),equals(dayOfWeek(utcNow()),5)))

 

but there is surely a bug somewhere

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Dual Super User
Dual Super User

Re: TRIGGER CONDITION: Bug?

Hi @ericonline 

 

correct syntax is 

@or(equals(dayOfWeek(utcNow()),1),or(equals(dayOfWeek(utcNow()),3),equals(dayOfWeek(utcNow()),5)))

 

but there is surely a bug somewhere

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

Super User
Super User

Re: TRIGGER CONDITION: Bug?

Hm. Why is only 1 additional or() required? Feels like it would work as originally written or require 3 total or() 's.

Dual Super User
Dual Super User

Re: TRIGGER CONDITION: Bug?

@ericonline 

 

Thats how the syntax works

 

Community Support Team
Community Support Team

Re: TRIGGER CONDITION: Bug?

Hi @ericonline ,

 

Have your problem been solved refer to @RezaDorrani 's solution?

If yes, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best Regards,

Alice

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,975)