Skip to main content
Nintex Community Menu Bar
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?

  • May 15, 2017
  • 2 replies
  • 121 views

Forum|alt.badge.img+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

Best answer by TomaszPoszytek

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

2 replies

TomaszPoszytek
Forum|alt.badge.img+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


Forum|alt.badge.img+7
  • Author
  • Novice
  • 41 replies
  • May 17, 2017

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