You are viewing limited content. For full access, please sign in.

Question

Question

Exclusive Gateway Issue

asked on December 7, 2016

I've a form with an exclusive gateway that contains two outputs. The gateway checks to see if a grand total for a form is above or below a supervisor's spending limit.  The logic for the outflow paths is as follows

Name: Above Spending Limit  Path Condition: /dataset/GrandTotal>/dataset/Spending_Limit_Supervisor

Name: Below Spending Limit  Path Condition: /dataset/GrandTotal</dataset/Spending_Limit_Supervisor
 

The problem is that it's not working like it should. For a recent form, the data for GrandTotal was 60, and the data for Spending_Limit_Supervisor was 5000, yet the path the form took was the Above Spending Limit one. Has anyone else encountered this type of problem, and if so, might you have any suggestions as to why it isn't working?

 

Thanks,

Michael

 

0 0

Answer

SELECTED ANSWER
replied on December 8, 2016

See this post, you need to explicitly convert the variable value to number

0 0

Replies

replied on December 9, 2016

Xiuhong,

 

   I enclosed the variables in number(), then ran a test to confirm and it routed correctly. Thank you very much for pointing me in the right direction!

 

Thanks,

Michael

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.