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 III
Super User III

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 III
Super User III

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (39,437)