2 Replies Latest reply on Feb 11, 2008 12:45 AM by aguizar

    Is it possible to undeploy BPEL processes?

      Hello,

      Is there an API to undeploy BPEL processes from JBPM engine? I know there is no webservice to do that right now but we can add such webservice if there is underlying infrastructure available.

      Thanks,
      Meghana.

        • 1. Re: Is it possible to undeploy BPEL processes?
          aguizar

          Undeployment is a twofold operation: undeploy the web module and remove the process definition from the database.

          Undeploying the web module effectively makes the related process definition unreachable, but the process data stays in the database and can be queried later. This is normally what you want, unless you want to purge the data as well.

          You can use the methods in GraphSession to delete an individual process instance or an entire process definition from the database. There is an open issue with constraint violations on Oracle (BPEL-252) but it needs to be investigated further.

          • 2. Re: Is it possible to undeploy BPEL processes?
            aguizar

            By the way, any input you can provide on the aforementioned issue (your database, driver, and any exception you encounter while deleting the process definition) will be appreciated.