1 Reply Latest reply on May 10, 2006 11:39 AM by fmuhlenberg

    how to associate a .par with a j2ee application ?

    try_catch_finally

      Hi all,

      I am done with creating and deploying the .par file.
      Now i want to use the jbpm api from my j2ee aplication to play with the workflow that i have deployed as par file.

      i short , how to associate my j2ee application with deployed .par file to play with jbpm api ?

      what i understood is-
      The .par file is deployed independently of jbpm api code that we use in our application.
      Am i thinking right ? pls correct me if m wrong.

      Thnx in Advance


        • 1. Re: how to associate a .par with a j2ee application ?
          fmuhlenberg

          You will have to provide your own lookup mechanism to find and select the deployed processes. It could be as simple as

          jbpms.getGraphSession().findAllProcessDefinitions()

          In my case, multiple definitions were deployed which were tied 1:1 to my input documents, so I implemented a lookup table that mapped documents to process definitions.

          -fm