2 Replies Latest reply on Sep 15, 2010 3:27 AM by parvathy j a

    create a new query method in TaskService

    parvathy j a Newbie

      hi i want to create a new method to query the database according to a new column
      created by me in JBPM4_TASK table..i added the following query in the jbpm.task.hbm.xml file

        <query name="findTasksByServiceName">
           select task
           from org.jbpm.pvm.internal.task.TaskImpl as task where task.serviceName =:serviceName

      Can someone tell me where all i should make changes and what should
      i do to get this query as a new method in TaskService API
      ie when i create a object of TaskService i must get a
      method to call this query and exceute it..

      Thanks in advance