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
Highlighted
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
Highlighted
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

Highlighted
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.

Highlighted
Dual Super User
Dual Super User

Re: TRIGGER CONDITION: Bug?

@ericonline 

 

Thats how the syntax works

 

Highlighted
Community Support
Community Support

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
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (8,556)