Page 1 of 1

Enhancing WorkFlow

PostPosted: Sat Jul 19, 2014 2:17 pm
by red1
(Final progress in PDF ... 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 It is in progress:

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

2. To give the GUI Editor more involvement in the WF handling.

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 ... 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 (61.82 KiB) Viewed 6831 times
ApproveNode.png (39.05 KiB) Viewed 6831 times
PrepareTransition.png (24.13 KiB) Viewed 6831 times
Condition.png (72.37 KiB) Viewed 6831 times
PleaseApprove.png (74.91 KiB) Viewed 6831 times
PleaseApproveNo.png (78.05 KiB) Viewed 6831 times
NotApproved.png (57.94 KiB) Viewed 6831 times