cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Community Champion
Community Champion

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 II
Dual Super User II

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 II
Dual Super User II

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

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

@ericonline 

 

Thats how the syntax works

 

Community Support
Community Support

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (12,781)