2.5.1g Can't get Workflow to work: requisition workflow

It is here where business functions and pains hits you in the face. Do we extend and weave requirements into Compiere? Or do we just tweak hardly a code with smart thinking and a full grasp of Compierology? You’ll see lots of both in making your business grow.

2.5.1g Can't get Workflow to work: requisition workflow

Postby hero » Thu Feb 10, 2005 9:46 am

Hi all!

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!
hero
 
Posts: 11
Joined: Sat Jan 22, 2005 3:37 am
Location: Bogotá, Colombia

Workflow Responsible

Postby neilg » Fri Sep 02, 2005 12:21 am

You can setup a new workflow responsible on the node or on the workflow itself. Right-click on the responsible field and ZOOM. For some odd reason I initially had the notion you shouldn't do that.
neilg
Regular
 
Posts: 141
Joined: Thu Jun 16, 2005 1:58 pm


Return to Reality Strikes

Who is online

Users browsing this forum: No registered users and 1 guest