Enhancing WorkFlow

The migration of Adempiere modules to iDempiere

Enhancing WorkFlow

Postby red1 » Sat Jul 19, 2014 2:17 pm

(Final progress in PDF http://sourceforge.net/projects/red1/fi ... f/download)
I am now in the middle of documenting and improving the Workflow (WF) feature. In essence, WF controls the business process and management of documents in the *piere ERP apps. It is equal citizen with the embedded business rules in M<model-class> and ModelValidators. But among these, WF is the better option been the most decoupled or meta-data based (an example given at the bottom). Thus effort should be given to review and consider enhancing WF towards better BPM (Business Process Management) capabilities.

The improvement we intend to do to WF right now is two fold:
1. To give WF a time schedule property instead of just transition node forwarding and condition that has only a fixed Wait (Sleep) for timing. The tracker on this is http://idempiere.atlassian.net/browse/IDEMPIERE-2022. It is in progress:

IDEMPIERE-2022.png
IDEMPIERE-2022.png (37.64 KiB) Viewed 5327 times

2. To give the GUI Editor more involvement in the WF handling. http://idempiere.atlassian.net/browse/IDEMPIERE-2080

At the same time documentation on WF is strewn all over and I like to consolidate them and publish a proper user manual with testing and use case examples. For example this original one from Jorg Janke was not well illustrated http://www.compieresource.com/2008/04/a ... kflow.html By following the instructions there, here is some screen-shots of a successful flow:
The first image is the end result of a successful completion of the instruction. The next three are the preparation of the elements necessary. The next two are the operational activities one with Yes and the other No. The last one is the not-approved outcome.

SetupWF.png
SetupWF.png (61.82 KiB) Viewed 5327 times
ApproveNode.png
ApproveNode.png (39.05 KiB) Viewed 5327 times
PrepareTransition.png
PrepareTransition.png (24.13 KiB) Viewed 5327 times
Condition.png
Condition.png (72.37 KiB) Viewed 5327 times
PleaseApprove.png
PleaseApprove.png (74.91 KiB) Viewed 5327 times
PleaseApproveNo.png
PleaseApproveNo.png (78.05 KiB) Viewed 5327 times
NotApproved.png
NotApproved.png (57.94 KiB) Viewed 5327 times
red1
Site Admin
 
Posts: 2759
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia

Return to iDempiere

Who is online

Users browsing this forum: No registered users and 1 guest

cron