cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AveStar
Frequent Visitor

Can't build a flow to be occurred only on Monday and Tuesday and when I receive a new email on these days

Hey Everyone,

 

I am trying to learn Power Automate but i am having trouble building a flow where i try to build an Occurrence trigger to which only this flow is on Monday and Tuesday they are triggered and adding the trigger (get new emails from outlook v3) , so i can pick the action to forward all new emails that come only on Monday and Tuesday to my Shared mailbox

But every time i try to set it up i always get this error on The pic

https://imgur.com/a/4uEce2d 

It doesn't matter if i completed the flow entirely or half flow, i always get the error with the Occurrence

What i need is a flow that forwards or even Copies (if possible) all new Office emails that are coming only on Monday and Tuesday to a shared mailbox

If anyone has a plan for this , would be appreciate very much if you share it with me

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
PrasadAthalye
Super User
Super User

On the shared inbox trigger, implement following trigger condition and test.

 

@OR(equals(dayOfWeek( triggerOutputs()?['body/receivedDateTime']), 1), equals(dayOfWeek( triggerOutputs()?['body/receivedDateTime']), 2))

 

PrasadAthalye_0-1631655922560.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

View solution in original post

3 REPLIES 3
PrasadAthalye
Super User
Super User

On the shared inbox trigger, implement following trigger condition and test.

 

@OR(equals(dayOfWeek( triggerOutputs()?['body/receivedDateTime']), 1), equals(dayOfWeek( triggerOutputs()?['body/receivedDateTime']), 2))

 

PrasadAthalye_0-1631655922560.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Thanks for the suggestion but to be honest, i have no idea how did you get that, if it's possible to show me the entire flow or even share it somehow that would be great and in this formula do i need to change anything? Where do i start? Sorry for the multiple questions just trying to understand it

On your trigger Click ...

PrasadAthalye_0-1631750103833.png

 

Then Click Settings and Add under trigger condition and copy paste the text I have given above.

 

PrasadAthalye_1-1631750167118.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,691)