• Modify Workflow Upload Form Element with Java

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #15358  by cwest
 
Is there a way to instantiate the documentName of an upload form element using Java code within a workflow process? In would basically like to make the following element have the documentName default to the process instance ID:
Code: Select all
<upload label="A File" name="myFile" data="myFile" folderPath="/okm:root/workflow/files/by/proccess_instance" type="create"/>
 #15402  by jllort
 
Explain the logic you should think will be implemented, because seems you want to create a new document from button ? we do not understanding which is exactly your idea.
 #15539  by cwest
 
I would like to have it so that in one task of the workflow, the user enters the employee ID. After that submitting the form, on the next task I would like the form to have an upload element that has a path to /okm:root/[employee_id]
 #16754  by cwest
 
I guess the best question is, is there a new version of the jar file to be included in the jBPM processes? I am currently using "OpenKM-utilities-5.0.jar". Is there a OpenKM-utilities-5.1.jar or something similar? Is there a new one that includes the "com.openkm.bean.form.Upload" class?

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.