0 Replies Latest reply on Aug 7, 2006 8:51 AM by May AbdelRazik

    Getting all task initiated by a give user

    May AbdelRazik Newbie

      Hi,

      Is there a way that i can retrieve all the task instances (i.e. taks that haven't ended yet) which were initiated by a given user.

      I am doing a leave request system with jbpm 3.1 and I need to prohibit the user from applying for a leave until his previous leave is finished (approved/rejected)
      Is there any way I can do this?
      I checked the API and I found that i can find all taskInstances for a given user but that's not what I want, i need task instances that have been started by this user not currently assigned to him

      Any help is appreciated

      May