3 Replies Latest reply on Dec 7, 2007 11:11 AM by kukeltje

    Configuring custom AssignmentHandler in JBPM

    mattowens

      Hey,

      Im trying to write my own identity Assignment Handler, but the docs aren't exactly thorough. I've read I can implement my own handler but the docs kind of end it there. Forums have reported you can configure the jbpm.config.xml file to point to the class which you wish to use to replace the standard jbpm assignment handler.

      Does anyone know the syntax for the entry in the jbpm.config.xml file? Im using jbpm version 3.2.2.

      Thanks
      Matt

        • 1. Re: Configuring custom AssignmentHandler in JBPM
          jgreiner

          While identity management and assignment handlers are related they are not the same.

          If you create a class that implements the AssignmentHandler class you can add code there to set the ActorId, or the PooledActors if you want to assign a task to many people.

          Then you create a swimlane and use your newly created AssignmentHandler as the swimlanes handler.

          Now when you create a Task you give it your new swimlane, and when the process transitions to the task it will fire your assignment handler assigning the task to the people you setup in the handler.

          • 2. Re: Configuring custom AssignmentHandler in JBPM
            mattowens

            Sorry, I must be geting my wires crossed.

            What i'd like to do is have the expresion handler refer to LDAP instead of the standard JBPM identity tables. We are use LDAP to identiy actors of the sytem (or would like to).

            Is this possible? Can you make any suggestions
            Thanks in advance
            M

            • 3. Re: Configuring custom AssignmentHandler in JBPM
              kukeltje

              This part is not fully configurable yet. Best is to start with reverse tracing the sourcecode.