NF13 Approval Column on Workflow Node
From iDempiere en
NOTE: This is not yet integrated into core
Goal: Technical
Developer: Deepak Pansheriya Logilite Tchnologies
Feature Ticket: IDEMPIERE-6499
Enhancing iDempiere Workflow for Multi-Level Approvals
Enhancing iDempiere Workflow for Multi-Level ApprovalsLimitations in Existing Approval Workflow In iDempiere, User Choice is used as the action type for approval workflows. However, the existing implementation has the following constraints:
- Mandatory isApproved Column – The approval logic requires the isApproved column set on column field of node.
- Issues with Multi-Level Approvals – When multiple approvals are required for a document, this approach does not work as for each approval, needs to record user input on different column. So if we add any other column name, System do not consider node as approval.
- Custom Columns Not Recognized – If a user adds a custom approval column, iDempiere treats it as a normal value-setting action rather than an approval.
Solution: Adding an Approval Column to Workflow Nodes
To overcome these limitations, we have introduced a new Approval Column on workflow nodes, which becomes visible when Action Type = User Choice.
Behavior of the Enhanced Approval Workflow in iDempiere
- Custom Approval Columns Supported – If a column is set in the Approval Column field, iDempiere recognizes it as an approval node.
- Consistent Approval Logic – The system attaches the same behavior as when using the isApproved column.
- Multi-Level Approvals Enabled – Supports workflows where multiple approvals nodes are required which each set different flag.
Example Use Case: Multi-Level Approval in Procurement