• Simple Workflow Task Assignment

  • 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.
 #23720  by Bluemule
 
Hi,

I just started examining workflows for our company and have been trying to do a basic task assignment with a simple form. The problem I am encountering is even though I assign a task using the assignment actor-id, the task form pops up for the user who started the workflow. In my example, okmAdmin is assigned to the task node, but if a user with the username Bluemule initiates the workflow for a file the task form instantly pops up for Bluemule. If Bluemule clicks cancel, the workflow is never started, if Bluemule completes the task form an error message is generated for okmAdmin upon login. Below is my simple.jpdl.xml and forms.xml. I've attached a screenshot of the error message when okmAdmin logs in (assuming the user Bluemule completed the forms task). My main question is, why is Bluemule having the task form pop up when the task is assigned to okmAdmin? Thanks!

--simple.jpdl.xml--
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>

<process-definition 
  xmlns="urn:jbpm.org:jpdl-3.2"
  name="simple">
   <start-state name="start">
		<transition to="run_config"></transition>
	</start-state>
   <task-node name="run_config">
   	<task name="run_config">
		<assignment actor-id="okmAdmin"></assignment>
		</task>
		<transition to="end1"></transition>
	</task-node>
	<end-state name="end1"></end-state>
</process-definition>
--forms.xml---
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 2.1//EN"
                                "http://www.openkm.com/dtd/workflow-forms-2.1.dtd">
<workflow-forms>
  <workflow-form task="run_config">
  	<input label="suggested" name="suggested" />
    <button name="submit" label="Submit" />
  </workflow-form>
</workflow-forms>
Attachments
workflow_error.jpg
workflow_error.jpg (9.96 KiB) Viewed 5733 times
 #23842  by Bluemule
 
I've attached the archived version of my workflow. Just a note, I have been using JBoss DS to build and deploy this workflow to OpenKM. Please let me know if any additional information is needed, thanks!
Attachments
(92.94 KiB) Downloaded 360 times
 #24484  by pavila
 
I can't find any problem in the workflow. Please, tell me which OpenKM version are you using and also attach the Tomcat log when you reproduce the problem.
 #24643  by Bluemule
 
I have been able to replicate this error in OpenKM versions 6.2.14, 6.2.17, and 6.2.18. I have attached the log folder after replicating the problem on OpenKM version 6.2.18 (64 bit for Linux). If you need any additional information, please let me know. Thanks!
Attachments
(370 KiB) Downloaded 295 times
 #25382  by pavila
 
Which database backend is configured with OpenKM? If using the default Hypersonic I can say it have problems with the jBPM workflow engine.
 #25676  by Bluemule
 
I was using the default database (Hypersonic). I switched to postgresql 9.1 and can confirm that it resolved my issue. Thank you for your assistance!

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.