cancel
Showing results for 
Search instead for 
Did you mean: 

What is the proper way of implementing the business process java bean statuses update

bluelettuce16
Champ in-the-making
Champ in-the-making
For example let's say that I have employmentProcess which includes process variable which is simple JavaBean and has field status.
Status may have one of the following values: new, sent_cv, waiting_for_meeting_scheduling, scheduling_meeting, meeting_scheduled, waiting_for_meeting, accepted, rejected.
What is the correct way to implement updates of the status during business process execution?
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,
From my point of view, you could include status updates in the process definition. (http://www.activiti.org/userguide/#bpmnIntermediateThrowNoneEvent) You can add listener to the nodes and update process status there.

Regards
Martin