8 Replies Latest reply on Aug 13, 2007 9:53 PM by gorgin

    how to realize the "process rollback" function with JBPM?

    gorgin

      suppose a simplest process A -> B -> C -> D.
      if now the process is on node C, how to let the process back to B without creating a new transition from C to B ?

      what's more, if the process starter(who started A) wants to cancel his application before C is operated. how to realize this function ?

      looking forward to reply, this is urgent ! thanks!

        • 1. Re: how to realize the
          kukeltje

          by using the jbpm API... from whatever application you want. Tokens can be moved between nodes and processes can be cancelled

          • 2. Re: how to realize the
            gorgin

            thanks a lot,kukeltje!
            I search many jbpm apis,but i can't find apis i need! maybe i am not careful enough. would you please give me some api examples ?
            what's more,i also thought i could use a token instance to rollback the process,but i can not find any "turn back" method from token instance.
            looking forward to your help! i repeat,this is urgent!

            • 3. Re: how to realize the

              token.setNode();

              • 4. Re: how to realize the
                kukeltje

                and gorgin.... good software has testcases that show the usage of the api. In opensource software thesse testcases are avaiable to anyone. jBPM is both

                • 5. Re: how to realize the
                  gorgin

                  thanks for your advise,kukeltje!
                  i will see those test cases carefully.
                  in case i need more of your help,would you please leave your e-mail?
                  thanks again

                  • 6. Re: how to realize the
                    kukeltje

                    I will leave my email if you pay enough in *advance* for me to give 8 hours of support... (?2 per minute (after taxes) is good), but buying commercial support with JBoss is probably cheaper

                    • 7. Re: how to realize the
                      kukeltje

                      oh.. .for anybody who is worried I go 'commercial' don't be.... the remark was not as catchy as I thought it would be and some might not see the meaning behind it that one should not ask for this kind of personal support

                      • 8. Re: how to realize the
                        gorgin

                        oh,kukeltje,i am new in this forum so i don't know those rules in this forum clearly.
                        now that your email is not available,i won't ask for it any more.
                        but i hope i can still get your help by your reply post