AnsweredAssumed Answered

Failed to find association definition 'bpm:assignee'

Question asked by vilaskokate on Jan 27, 2009
Latest reply on Jan 28, 2009 by maas101
     I have created one custom workflow it is deployed on alfresco. But it does not show the users for assigning to  the workflow.
     it showing this error " Failed to find association definition for association 'bpm:assignee'"
     my processdefinition.xml file is as follows
<?xml version="1.0" encoding="UTF-8"?>

<process-definition xmlns="" name="custom_review">

    <swimlane name="initiator" />

    <start-state name="start">
        <task name="wf:CustomsubmitReviewTask" swimlane="initiator" />
        <transition name="" to="review" />

    <swimlane name="reviewer">
        <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">

    <task-node name="review">
        <task name="wf:CustomreviewTask" swimlane="reviewer">
            <event type="task-create">
                    if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
                    if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;
        <transition name="approve" to="approved" />
        <transition name="reject" to="rejected" />

    <task-node name="rejected">
        <task name="wf:CustomrejectedTask" swimlane="initiator" />
        <transition name="" to="end" />

    <task-node name="approved">
        <task name="wf:CustomapprovedTask" swimlane="initiator" />
        <transition name="" to="end" />

    <end-state name="end" />

       I have added this line into the WorkflowModel.xml file
 <type name="wf:CustomsubmitReviewTask">

   Can anybody tell me how to solve this error.