Does anyone have any experience with the Compiere workflow engine?
Im using the GardenWorld example with GardenUser and GardenAdmin. When GardenUser posts a requisition, GardenAdmin doesnt get notified (GardenAdmin is the supervisor of GardenUser according to the Role tab) .
Any ideas where to check or what Im missing? the error I'm getting comes from the following piece of code:
- Code: Select all
// No Approver
if (nextAD_User_ID <= 0)
{
newState = StateEngine.STATE_Aborted;
setTextMsg ("Cannot Approve - No Approver");
doc.processIt (DocAction.ACTION_Reject);
}
Where do I set the next User ID?
Thanks everyone!