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

Create Flow action to notify based on a time off request

So i am pretty new to flow but managing with the more mainstream connectors fairly well and learning everyday, i am however struggling with Staffhub 

 

I am trying to put a flow together that will email a designated address upon the approval of a time off request with a specific type such as Annual Leave, 

 

i can get it to detect the approval --> look for "set term" and get request and user details, but then when i use a condition to = yes and send mail to an email address i can the email for all types of requests and all users. It appears the condition although = no is still getting through. 

 

Any clues, hints or tips for me? 

1 ACCEPTED SOLUTION

Accepted Solutions
Damo_R
Frequent Visitor

Re: Create Flow action to notify based on a time off request

Hi @v-xida-msft

 

thank you for taking the time to reply. i spent several hours going through this yesterday and eventually discovered what was happening. 

 

i was using an apply to each container which was taking the time off reasons array and/or the team members array and applying my criteria to each member or reason. Once i removed this, and implemented a condition to equal my required time off reason it worked like a charm.... 

 

the simplest things are often the most diffcult too understand!! well in my case anyway 😉

View solution in original post

2 REPLIES 2
Community Support
Community Support

Re: Create Flow action to notify based on a time off request

Hi @Damo_R,

 

Could you please share a screenshot of your flow’s configuration?

Please check if the formula is calculated correctly in your Condition box.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Damo_R
Frequent Visitor

Re: Create Flow action to notify based on a time off request

Hi @v-xida-msft

 

thank you for taking the time to reply. i spent several hours going through this yesterday and eventually discovered what was happening. 

 

i was using an apply to each container which was taking the time off reasons array and/or the team members array and applying my criteria to each member or reason. Once i removed this, and implemented a condition to equal my required time off reason it worked like a charm.... 

 

the simplest things are often the most diffcult too understand!! well in my case anyway 😉

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (6,675)