• multiple task nodes of the process not working with workflow

  • 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.
 #18591  by shahid
 
Hi,
I am new to OpenKM,
I have a process which has multiple task nodes with actor-Id associated with it and this process has a workflow forms. Every task node as asscoiated workflow form whcih are defined in forms.xml. We are able to see form for run_config (start node) and first task node (task-node1) when the workflwo is started and when first task is assigned to the user. When second task node is assigned to the user user is assigned the task but the form is not visible. I'm using is OpenKM 5.1.10 community version.

processdefinition.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<process-definition 
  xmlns="urn:jbpm.org:jpdl-3.2"
  name="test2">
   <start-state name="start">
		<transition to="task-node1"></transition>
	</start-state>
   <task-node name="task-node1">
		<task name="task 1">
			<assignment actor-id="shahid"></assignment>
			<event type="task-create">
			       <script>taskInstance.start();</script>
			</event>
		</task>
		<transition to="task-node2"></transition>
	</task-node>

	<task-node name="task-node2">
		<task name="Task 2">
			<assignment actor-id="shahid"></assignment>
		</task>
		<transition to="end"></transition>
	</task-node>

	<end-state name="end"></end-state>
</process-definition>
forms.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 1.1//EN"
"http://www.openkm.com/dtd/workflow-forms-1.1.dtd">
<workflow-forms>
    <workflow-form task="run_config">
        <input label="Number to guess" name="number" />
        <button name="submit" label="Submit" />
    </workflow-form>

    <workflow-form task="task 1">
        <input label="Guess" name="guess" />
        <button name="submit" label="Submit" />
    </workflow-form>

    <workflow-form task="task 2">
        <input label="Guess2" name="guess2" />
        <button name="submit" label="Submit" />
    </workflow-form>
</workflow-forms>
Let me know if I am making any mistake.

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.