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 blogPower 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 blogPower Automate Video Tutorials

View solution in original post

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 blogPower Automate Video Tutorials

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,191)