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

Question

Question

recognizing form attachment in exclusive gateway

asked on August 25, 2017

I have a form that the initiator can attach a pdf file to, but its not required.  If they do attach something, I need to file it differently in Laserfiche (both the form and the attachment).   I am using an exclusive gateway and the default path is to file without the attachment.   I can't figure out the conditional expression needed to "know" if there is an attachment.  I notice that the variable for the "attachment" has a name for the uploaded file.  I tried using "job-description" (the upload field name variable) = *.   It seems to ignore me.   Is there something wrong with my syntax or is there a better way to do that.

0 0

Replies

replied on August 25, 2017

Hi Tom,

You can do this using the variable for the File Upload field and a condition based on whether or not the variable is empty. In my example, this variable is named File_Upload

Condition for the "has attachment" branch: /dataset/File_Upload!="" (if this variable is not empty, a document has been uploaded and fulfills this condition)

Condition for the bottom, "has no attachment", branch: /dataset/File_Upload="" (if this variable is empty, no document has been uploaded and fulfills this condition. This could also have been set the default path too)

Hope this helps.

 

3 0
replied on August 25, 2017

Thanks, that answers it.  I was looking for a wildcard, didn't think of an empty (null) value.

 

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

Sign in to reply to this post.