7 Replies Latest reply on Mar 6, 2008 6:33 AM by kukeltje

    Swimlane

    mausca

      Hi all,

      I've define this process (this is only a part of entire process)






      <start-state name='start'>




      </start-state>

      I don't understand why the class MyAssignmentHandler is never instatiated and the method assign is never called. The class MyAssignmentHandler implementes the org.jbpm.taskmgmt.def.AssignmentHandler interface.

      Please help me

        • 1. Re: Swimlane
          mausca

          Sorry, this is the part of process:





          <start-state name='start'>




          </start-state>



          • 2. Re: Swimlane
            mausca

            Sorry again

            <swimlane name='StartProcessActors'>
             <assignment class='it.valueson.croute.web.jbpm.MyAssignmentHandler'>
             </assignment>
            </swimlane>
            <start-state name='start'>
             <task name='initProcess' swimlane='StartProcessActors'></task>
             <transition to='firstState'>
             <action class='it.valueson.croute.web.jbpm.MyActionHandler' />
             </transition>
            </start-state>
            


            • 3. Re: Swimlane
              kukeltje

              start states are currently not assignable this way. They are assigned to the actor who starts it. See jira for this issue.

              • 4. Re: Swimlane
                mausca

                Thanks Ronald,

                but in the next node:

                <state name='firstState'>
                 <task name='prova' swimlane='StartProcessActors'></task>
                 <transition to='secondState' />
                </state>
                


                the MyAssignmentHandler is never called too

                • 5. Re: Swimlane
                  kencool

                   

                  "kukeltje" wrote:
                  See jira for this issue.


                  which jira do you mean? how can i fetch the issue i want?

                  thanks for help:)

                  • 6. Re: Swimlane
                    kukeltje

                    correct since your processdefinition is *wrong*.... tasks can only exist in a task-node.

                    Please look at the docs, search the wiki, forum and jira before posting. These issues *are* documented

                    • 7. Re: Swimlane
                      kukeltje

                      @Ken:

                      The JBoss Jira ofcourse. You can find it by entering search terms