Hi Karen, Binding is O.K. Because Work Item Text displays the document number correctly and then &AMIDOC.DOCUMENTSTATUS& not the value. Executing the WorkItem gives the correct document with correct status. But my determiniation of the agent based on the status becomes wrong and mostly the agent is WF-BATCH instead of my assigned agent. Some times the agent determination becomes correct. It is not consistent all the time (mostly 90%times inconsistent). Thanks. Easin Muttaqi > Weaver, Karen wrote: > > If you are getting the actual words then your problem is: > > 1. The object doesn't exist, or > 2. You have binding issues. > > Check your binding to the your object name AMIDOC. > > -----Original Message----- > Wrom: CGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNV > Sent: Thursday, December 11, 2003 9:10 AM > To: SAP-WUG@MITVMA.MIT.EDU > Subject: DRAW Document Status > > > Hi > > I am developing a WF on DRAW Object. The WF triggers when Document > Status > (DRAW-DOKST) is changed to 'A5'. My entire processing depends on the > value > of > the current Document Status. But during the execution of the WF I > don't get > the > current value of the Document status. For example, the WF is > triggered when > the > Document Status is changed to 'A5'. But using Transaction code 'SWI1' > the > Work > Item Text displays &AMIDOC.DOCUMENTSTATUS& not the value. > > How can I ensure that the current value of the Document Status is > available > to the > Workflow ? I am using R/3 release 4.6C. > > Thanks. > > Easin Muttaqi