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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2014 01:21 PM
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?
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?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2014 12:41 AM
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
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
