开发者

How to remove a task from a JBPM workflow?

Is it possible to remove a task from an existing workflow in JBPM? I wouldn't like to h开发者_运维问答ave a new workflow, only modify the existing one.

I'm using JBPM 3.2.2


This is unfortunately not possible.

The only solution I can think of in this case is the following:

  1. introduce an exception in the workflow, so that it stops
  2. deploy a new workflow
  3. recover the data from the old workflow and start a new workflow up with the old data.


If you are using the default H2 database and trying to delete the tasks then,

Go to your username folder, for example, C:\Documents and Settings\ and delete two following H2-related database files,

  1. jbpm-db.h2.db
  2. jbpm-db.lock.db

Restart the process. It should work fine. Basically, navigate to the folder where your .eclipse or .m2 folder, etc. are created and delete the two files mentioned above.

I hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜