Solved

I am creating a workflow where a set field on the form is a Negative Figure, is there anyway that I can use a Run IF when this Field is a Negative?


Badge +7

I have a Field on a Form (New Remaining Spend) which sometimes will become a Negative Figure i.e -1,000

I have entered this into the workflow, but it does not seem to work

My workflow has a Parallel block but the workflow seems to trigger all branches in the block.

 

Any Idea's?

 

Kind regards

 

Claire Allen

icon

Best answer by TomaszPoszytek 15 May 2017, 10:26

View original

2 replies

Userlevel 7
Badge +17

Well, that is exactly what you should do - check if the field has "value < 0".

Two things - log the value to the workflow history before you go into parallel block (to be sure it is negative), second thing - do you cast the value of the field into number (this "fx" button next to a lookup)? Or is the workflow variable you use to store the field's value a "number" type?

Regards,

Tomasy

Badge +7

Hello Tomasz,

I managed to fix it, I was forgetting that a Negative Vault works backwards to a positive value,

Where I was putting greater than or equal to -5 for example, actually needed to be less than.

All is good and workflow runs with no proplems.

Thanks for the Tip


Regards

Claire

Reply