Page 1 of 1

State of Upload in Form

PostPosted:Fri Apr 15, 2016 3:56 pm
by alexwgordon
Hi all,

I have almost completed my approval workflow I've been working on for some time now. I was curious if anyone knows if it is possible to know what state the upload form element is in. Basically, I want to execute a checkout and upload if the upload form element has been used (i.e. someone wants to upload a document), but not do anything if the upload form element was not used.

Any advice would be great, thanks!

Re: State of Upload in Form

PostPosted:Tue Apr 19, 2016 8:20 pm
by jllort
Seems we are on workflow scenario. For what I understand is shown an Upload form element in the workflow form ? What I do not able to understanding is the other steps, could you make some mockup for understanding ? You want to doing an uploading only if the user has changed some form value ( the others forms elements what comes with upload element ? )

Re: State of Upload in Form

PostPosted:Mon Apr 25, 2016 5:52 pm
by alexwgordon
Yes, in the form of a workflow I want the user to be able to have the choice to upload a document. If the user chooses not to upload a document then the workflow should continue and not cause an error. If they choose to upload a document, the file should be uploaded and the workflow continues. Basically whether the file is uploaded or not I want the workflow to proceed as normal. Currently if the user doesn't upload a file there's an error and then the workflow stops.


EDIT: Weirdly, whether I use the upload form element now or not, the workflow seems fine. Perhaps I had some error in my task node.

Re: State of Upload in Form

PostPosted:Fri Apr 29, 2016 9:31 pm
by jllort
Can you share here the stack trace error.