-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
To deliver status and event information live to another system another HistorySession could be used. To be able to plug a new HistorySession into jBPM the event classes should have getter methods to give access to the event specific data.
If possible, I can take care of these changes.... Testing should be simple for me, as I need these methods
Event: ActivityEnd, DecisionEnd
Public getter for: transitionName
Event: TaskActivityStart, TaskAssign, TaskCreated, TaskDelete, TaskUpdated
Public getter for: task
Event: TaskAssign
Public getter for: assignee
Event: TaskComplete
Public getter for: outcome
Event: TaskDelete
Public getter for: reason
Event: VariableCreate, VariableUpdate
Public getter for: variable
In addition the Binding for HistorySessionChain is missing:
public class HistorySessionChainBinding extends WireDescriptorBinding {
private static final String HISTORY_SESSION_CHAIN_TAG = "history-session-chain";
public HistorySessionChainBinding()
{ super(HISTORY_SESSION_CHAIN_TAG); }public Object parse(Element element, Parse parse, Parser parser)
{ ObjectDescriptor objectDescriptor = new ObjectDescriptor(HistorySessionChain.class); ListBinding listBinding = new ListBinding(); ListDescriptor listDescriptor = (ListDescriptor) listBinding.parse(element, parse, parser); objectDescriptor.addInjection("delegates", listDescriptor); return objectDescriptor; }}
- blocks
-
JBPM-2568 review history based on user feedback
- Open