cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
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
RezaDorrani
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
RezaDorrani
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

 

v-alzhan-msft
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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (55,672)