Workflow

Buenas tardes

Necesito sumar tres campos con Workflow --> el ya me calcula 2 pero el tercero no lo realiza necesito que sumen los tres y que queden en un solo total.

{add ({P0};{P1};{P2})}

Gracias, quedo atento a comentarios

Hi, I never used this, but… the Guide states clearly that “add” is a function that takes only TWO parameters:

suitecrm.com/wiki/index.php/Userguide#Mathematical_functions

So you could try adding like so:

total=P0
total = total + P1
total = total + P2
total = total + P3
total = total + P4
etc

Good luck with your efforts

1 Like

{add({add({P0};{P1})};{P2})}

Seems to work for me (when Workflows works, which is another issue).

It can get very complicated very quickly, and for old guys like me, it’s not easy to read.

Best of luck

2 Likes