09-15-2008 10:21 AM
<?xml version="1.0" encoding="UTF-8"?>
<process-definition
xmlns="urn:jbpm.org:jpdl-3.2"
name="Approval">
<swimlane name="office">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<pooledactors>#{people.getGroup('GROUP_office')}</pooledactors>
</assignment>
</swimlane>
<swimlane name="accountant">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<pooledactors>#{people.getGroup('GROUP_accounting')}</pooledactors>
</assignment>
</swimlane>
<start-state name="start">
<task name="kb:start" swimlane="office">
</task>
<transition name="Accept" to="Reception"></transition>
</start-state>
<task-node name="Reception">
<task name="kb:reception" swimlane="office">
</task>
<transition name="Describe" to="Description"></transition>
</task-node>
<task-node name="Description">
<task name="kb:description" swimlane="accountant">
</task>
<transition name="Approve" to="Approval"></transition>
</task-node>
<task-node name="Approval">
<task name="kb:approval" swimlane="accountant" />
<transition name="Approve" to="end"></transition>
</task-node>
<end-state name="end"></end-state>
</process-definition>
definition: jbpm$47 , name: Approval , version: 33
workflow: jbpm$45 , active: true
path: jbpm$45-@ , node: Description
path: path
properties: 19
{}companyhome = workspace://SpacesStore/8c483d66-54f4-4553-aad9-1198ef4c9cd4
{http://www.alfresco.org/model/bpm/1.0}percentComplete = 0
{http://www.alfresco.org/model/bpm/1.0}assignee = workspace://SpacesStore/7ef8f373-b11d-46e2-9edb-25535a4d3cff
{http://www.alfresco.org/model/bpm/1.0}outcome = Describe
{http://www.alfresco.org/model/bpm/1.0}context = workspace://SpacesStore/8c483d66-54f4-4553-aad9-1198ef4c9cd4
{}workflowinstanceid = jbpm$45
{http://www.alfresco.org/model/bpm/1.0}workflowDescription = null
{http://www.meta.com/mds.model/1.0}nip = aaaa
{http://www.meta.com/mds.model/1.0}number = aaa
{}initiator = workspace://SpacesStore/7ef8f373-b11d-46e2-9edb-25535a4d3cff
{}cancelled = false
{http://www.alfresco.org/model/bpm/1.0}status = Completed
{http://www.alfresco.org/model/bpm/1.0}package = workspace://SpacesStore/42621a58-607f-4f63-a5b6-18bcf68cfd77
{http://www.alfresco.org/model/bpm/1.0}workflowPriority = 2
{http://www.meta.com/mds.model/1.0}deliverer_name =
{}initiatorhome = workspace://SpacesStore/8c483d66-54f4-4553-aad9-1198ef4c9cd4
{http://www.alfresco.org/model/bpm/1.0}packageActionGroup = add_package_item_actions
{http://www.alfresco.org/model/bpm/1.0}packageItemActionGroup = start_package_item_actions
{http://www.alfresco.org/model/bpm/1.0}workflowDueDate = null
09-15-2008 02:12 PM
09-15-2008 03:25 PM
09-16-2008 03:25 AM
And now, when I start it, Alfresco asks me for the Workflow Assignee, who's that person? I have defined all swimlanes in the code, so I don't understand why I am asked for that Workflow AssigneeI'm only beginner but I did similar example.
<type name="kb:start">
<parent>bpm:startTask</parent>
</type>
And I thought that swimlane of start-task is initiator usually, isn't it?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.