AnsweredAssumed Answered

Assign task to document owner in 3.4b

Question asked by ph73nt on Feb 3, 2011
Latest reply on Feb 10, 2011 by ph73nt
Hi listers,

I would like to assign a task to the owner of a document. I have used the code suggested here (http://forums.alfresco.com/en/viewtopic.php?f=34&t=27391) to assign a user to a swimlane:


    <swimlane name="reviewer">
        <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
            <actor>#{people.getPerson(bpm_package.children[0].assocs["someco:DocumentOwner"][0].properties.userName)}</actor>
<!–            <actor>nthomson</actor>–>
        </assignment>   
    </swimlane>

But when I attempt to enter the task on this swimlane I get the dreaded "transition null" error. If I switch the actor to be my username, the task executes with no errors (and I'm definately the owner of the document). I'm using version 3.4b, is this method compatible?

Thanks in advance, Neil

Outcomes