Hello All,
I'm currently trying workflow in openkm 5.0. I successfully assign task to single actor (user) but failed to assign task to group of user (pooled actor). In this sample, i'm trying to assign task to user1, user2, user3, and group of UserRole. Here is my sample process definition (processdefinition.xml) :
Thanks in advance for your reply
I'm currently trying workflow in openkm 5.0. I successfully assign task to single actor (user) but failed to assign task to group of user (pooled actor). In this sample, i'm trying to assign task to user1, user2, user3, and group of UserRole. Here is my sample process definition (processdefinition.xml) :
Code: Select all
and here is my form definition (forms.xml) :
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="AssignmentTest">
<start-state name="start-state1">
<task name="testing" blocking="true">
<description>
testing
</description>
<assignment pooled-actors="group(UserRole)"></assignment>
<controller></controller>
</task>
<transition to="task-node1" name="to_task1"></transition>
</start-state>
<task-node name="task-node1">
<task name="task1" blocking="true">
<description>
Testing task1
</description>
<assignment actor-id="user1"></assignment>
<controller></controller>
</task>
<transition to="task-node2" name="to_task2"></transition>
</task-node>
<task-node name="task-node2">
<task name="task2" blocking="true">
<description>
Testing task2
</description>
<assignment actor-id="user2"></assignment>
<controller></controller>
</task>
<transition to="task-node3" name="to_task3"></transition>
</task-node>
<task-node name="task-node3">
<task name="task3" blocking="true">
<description>
Testing task3
</description>
<assignment actor-id="user3"></assignment>
<controller></controller>
</task>
<transition to="task-node4" name="to_task4"></transition>
</task-node>
<task-node name="task-node4">
<task name="task4" blocking="true">
<description>
Testing task4
</description>
<assignment pooled-actors="group(UserRole)"></assignment>
<controller></controller>
</task>
<transition to="end-state1" name="to_end"></transition>
</task-node>
<end-state name="end-state1"></end-state>
</process-definition>
Code: Select all
What is probably wrong with my workflow ?. Does openkm 5.0 support pooled actor in the task assignment ?<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 1.0//EN"
"http://www.openkm.com/dtd/workflow-forms-1.0.dtd">
<workflow-forms>
<workflow-form task="testing">
<input label="variable1" name="variable1" />
<button label="Submit" />
</workflow-form>
<workflow-form task="task1">
<input label="variable1" name="variable1" />
<button label="Submit" />
</workflow-form>
<workflow-form task="task2">
<input label="variable2" name="variable2" />
<button label="Submit" />
</workflow-form>
<workflow-form task="task3">
<input label="variable3" name="variable3" />
<button label="Submit" />
</workflow-form>
<workflow-form task="task4">
<input label="variable4" name="variable4" />
<button label="Submit" />
</workflow-form>
</workflow-forms>
Thanks in advance for your reply