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

Question

Question

System ignoring Forms Condition statement (based on checkbox value)

asked on July 15, 2019 Show version history

I have a Forms process (Incident Reports) with a user step with more options than my three buttons can account for.  The three button options are, essentially: 

  1. Send on to HR
  2. Send to next team member for review
  3. Return to previous step

 

If desired, users choosing the second option can also select one or both checkboxes that describe activity options, as follows:

  1. Save an updated Draft copy of the form in the repository
  2. Send an initial notification of the incident to HR

 

So, if a user selects the second button (send to next team member), the Process goes to a Parallel Gateway activity that is supposed to evaluate if one or both of these boxes are checked, then execute those activities accordingly, as shown below:

 

The conditional statements associated with each branch were generated using the built-in tool, as follows:

(Purple arrow on the right): /dataset/Submission_Options_1/Send_Copy_to_Dept._Repository="checked"

(Purple arrow on the left): /dataset/Submission_Options_1/Send_Copy_to_Dept._Repository="unchecked"

(Green arrow): /dataset/Submission_Options_1/Send_HR_a_Preliminary_Notification_of_Incident="checked"

 

The problem I'm running across is that every time the workflow gets to this point, all three options execute regardless of what options have been selected.

Has anyone else experienced this problem?  Any advice or workarounds?  I'm planning on trying some different field types to see if that helps, but checkboxes seem the most logical in this case.

Running Forms 10.4.1

0 0

Answer

SELECTED ANSWER
replied on July 15, 2019

A parallel gateway (and) is designed to follow all outflow paths. If you want conditional paths, you should use either an Inclusive Gateway (and/or) or an Exclusive Gateway (either/or).

Inclusive will follow one or more paths with satisfied conditions.

Exclusive will only follow the first path with a satisfied condition.

https://www.laserfiche.com/support/webhelp/Laserfiche/10/en-US/administration/#../Subsystems/Forms/Content/Gateways.htm%3FTocPath%3DForms%7CCreating%2520a%2520Process%7C_____4

0 0
replied on July 15, 2019

That was it, it's working now!  I didn't know that the gateway type would override any conditional statements.  Thank you

0 0

Replies

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

Sign in to reply to this post.