[jbpm-dev] [Design of JBoss jBPM] - Re: History information

tom.baeyens@jboss.com do-not-reply at jboss.com
Mon May 18 10:28:00 EDT 2009


i agree cancelled process instances / tasks should also remain in the history.

there is a related aspect that I wanted to bring up: I want to split the execution state from the from the user provided end state.

currently users can provide a custom end state value.  i believe the state of a (history)process instance should always be put to STATE_ENDED.  and that we should have a second field indicating the user defined end state.  it's the user defined end state that could be cancelled, aborted, error, failure and so on.

then i believe users can distinct better between ended processes and active processes in their queries.



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231661#4231661

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231661



More information about the jbpm-dev mailing list