1 Reply Latest reply on Sep 20, 2005 2:40 AM by Ronald van Kuijk

    Managing jBPM users/groups

    Manjula Jayaraman Newbie

      Hi All,

      Currently we are working on re-designing a large scale call center application using jBPM. We have the concept of users and groups and these are maintained in our DS.

      One of the basic unit of our application is a Ticket. When there is an issue, the customer creates a ticket. This ticket needs to have information such as who created the ticket, who should work on the ticket etc. Ticket can be assigned to an individual user or a group. If the ticket is assigned to a group, one of the members of the group will assign it to themselves and the group's manager can assign it to one of their team members part of that group.

      Having said that, if we keep the users/groups information in DS, when i assign a ticket to user "X" or group "Y", does jBPM save this information anywhere? After i save the ticket, in the next session, when user "X" logs in, how will the user know that a ticket is assigned to him, using jBPM? Is it the application's responsibility or jBPM manages it completely.


      Also, in our case of Ticket, we've the possible actions that can be taken such as Open/Escalate/Escalation Complete/Close. i.e. currently ticket is in "Escalate" state. The possible state transitions allowed are: "Escalate Complete"/ Escalate or Close. How could i get this information from jBPM?


      Could someone please help me find the answers for the above questions?

      Thanks for any input in advance!

        • 1. Re: Managing jBPM users/groups
          Ronald van Kuijk Master

          I can answer them, and you can see this in action in the small demo with jBPM. For jBPM the user/group are just a string called actorID, nothing more, nothing less. For showing up tasklists, the jBPM example webapp uses the user that is logged in tyo show his tasks. If there is also a group a user belongs to, you have to wrtite some code to also show these tasks so a user can assign one to himself.

          Transitions are defined in jBPM and yes you can retrieve them. Look in the webapp examplecode how this is done. Realy, look at it, you'll learn a lot.