• multiple task nodes of the process not working with workflow

  • Nous essayons de faire OpenKM aussi intuitif que possible, mais tout avis est bienvenu.
Nous essayons de faire OpenKM aussi intuitif que possible, mais tout avis est bienvenu.

Moderator: dedisoft

Forum rules: Avant de poser une question, merci de regarder la documentation du wiki ou d'utiliser la fonction recherche du forum. Et rappelez vous que nous n'avons ni boule de cristal ni possibilité de lire dans les pensées, aussi pensez à spécifier quelle version d'OpenKM vous utilisez ainsi que la version du navigateur web et du système d'exploitation. Pour de plus amples informations lisez Comment reporter un bug efficacement (anglais).
 #18590  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.