cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pascalammeter
Regular Visitor

Send me an email, when 80% of its project capped cost is reached

Hello guys!

 

We've got a problem with a condition. The goal of the flow is to send me an email, when 80% of its project capped cost is reached.

We are using Dynamics 365 online and the relevant fields are down below in the screenshot.

 

crm d365 onlinecrm d365 online

 

 

 

We would be most grateful, if you could help us with the condition and the right expressions, we think is needed in the second gap.

 

current flow situationcurrent flow situationThanks in advance!

 

Cheers, Pascal

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @pascalammeter 

 

Believe you want to compare the 80% compared against the Total Billed.

 

Follow the steps

 

image.png

 

Above Compose action expression is as follows

mul(variables('ProjectCappedCost'), 0.8)
 
This will output the 80% of the Project capped cost. Next we need to compare the value against Total billed.
 
Thanks


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @pascalammeter 

 

Believe you want to compare the 80% compared against the Total Billed.

 

Follow the steps

 

image.png

 

Above Compose action expression is as follows

mul(variables('ProjectCappedCost'), 0.8)
 
This will output the 80% of the Project capped cost. Next we need to compare the value against Total billed.
 
Thanks


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Hi @abm 

 

Thank you for your help! 

 

In your solution, you take the value of this specifically project. Can you transform the condition, that it's going to work with any project, regardless of the value. Because every project has an other value capped cost. 

 

Thanks alot!

Hi @pascalammeter 

 

Not sure I understood it clearly. Currently I have hardcoded the 'Project Capped Cost'. So your question is can we map to any project capped cost. If that's correct then why not map the value under intialise variable step. If I am misunderstood please explain?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,573)