• State of Upload in Form

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #41597  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!
 #41626  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 ? )
 #41669  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.
 #41706  by jllort
 
Can you share here the stack trace error.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.