Subtraction function in workflow

hi all
i have created a new field “amount payed”
and created “totalsubpayed”

i want to create subtraction function to calculate total sub payed = grand total - amount payed

thanks in advance

total payed field triggered by workflow successfully but it gives me zero


even if i edited any number on total sub payed i still get zero

  • not the case if i disabled the workflow i think there is something wrong with my settings

Hi,
try {subtract({P0}; {P1})} instead.

1 Like

thanks for your reply
still gives me completed but nothing total sub payed is 0

thank you so much just delete it and use your function and it works perfectly

1 Like