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

Question

Question

Multiple Conditional Expressions in an Exclusive Gateway

asked on February 28, 2017 Show version history

I am trying to have multiple conditional expressions in one gateway.  I.e.   There are a variety of questions on a form that if the user states Yes (to any) I want it to take one path of two.  The form works fine when I only have 1 conditional expression but when I add more by selecting "or", finding the form field then = No, then insert the form is terminated at the Exclusive Gateway.  Any ideas?

0 0

Replies

replied on February 28, 2017

Kimberly,

It should as long as the variables are correct and there is no 'and' or 'or' left dangling at the end.  For instance, I have a route I want the process to follow when either of 3 folder options are checked (NLCS, Gemini, or Applied)...the text I end up with in the gateway conditions is:

/dataset/Folder/NLCS="checked" or /dataset/Folder2/Gemini="checked" or /dataset/Folder3/Applied="checked"

 

Needless to say, you would have to specify a second option or more or the condition won't evaluate.

0 0
replied on February 28, 2017 Show version history

If none of the conditions are satisfied in a gateway to continue the workflow, it will terminate, you can check the Event Viewer under Laserfiche Forms to get more detail on the Error event that terminated the workflow. Sometimes I find it easier to have a hidden validation field on the form that does the test and then only test for the 1 condition in the gateway if there are many to test for, as a cleaner way through this.

0 0
replied on March 1, 2017

Figured out it seemed to be a simple formatting situation in the expression.  Where we are not hitting "enter" after each condition.   Thank you!

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

Sign in to reply to this post.