web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Subtracting 10 from a ...
Power Automate
Unanswered

Subtracting 10 from a value with a flow

(0) ShareShare
ReportReport
Posted on by 297

Hi all,

 

I have set up an app for a restaurant that rewards customers with a free coffee after they purchase 10, I set a list up with a people picker and a column called coffee purchases, I then set the app up with a barcode scanner that updates the persons list by 1 each time they scan the barcode. I have then set a flow up that sends an email to the created by letting them know they have a free coffee when they have purchased their tenth, I want to now add into the flow to subtract 10 once the column is equal to or greater than 10, any help much appreciated.

 

Capture1.PNG

Thanks,

 

Edd 

Categories:
I have the same question (0)
  • Verified answer
    Edd-Keogh Profile Picture
    297 on at

    I managed to resolve this by using the following expression: 

     
    add(triggerOutputs()?['body/CoffeesPurchased'],-10)
     
    Strange that it was add but it works!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard