4 Replies Latest reply on Aug 8, 2006 11:43 AM by cpob

    Undeploying.....

    stevenm

      I have deployed a process that didnt turn out quite the wa I want and I need to remove it.

      Is there an efficient way of doing this?

      I have found the "void startDatabaseManager()" in the console but was wondering if there is another way of editing the database instead of typing in the SQL commands there?

        • 1. Re: Undeploying.....
          stevenm

          In fact I tried to remove it by using SQL commands but it doesnt work so my question again is....

          How do I removed a process once it has been deployed?

          • 2. Re: Undeploying.....
            cpob

            Trying to remove things straight from the DB can be hairy, as there are a lot of interconnected tables.

            It's there in the API, look at GraphSession and it's method .deleteProcessDefinition

            You get the graphSession from jbpmContext.getGraphSession()

            • 3. Re: Undeploying.....
              stevenm

              Ao are you saying I need to actually write the code to call the .deleteProcessDefinition method and other associated beans?

              Is it not readily available in the jmx-console or anywhere else?

              • 4. Re: Undeploying.....
                cpob

                Uh??, yes you will need to write code, how else would you use a library/engine?

                There is no other JMX functionality for jBPM, and that startDatabaseManager() is a Hypersonic JMX call (I think), not a jBPM call.