Hi,
We have a step in a workflow which is used to post a parked FI invoice document. When a user executes this step the document gets posted and "Posted by" field in the document gets updated with the userid of the user who executed the workflow step.In an older version of the workflow template where this task is used the data is getting updated correctly.Now the same task is used in a new workflow template but when executed, it is updating the data with 'WF-BATCH'. Both the workflows have exactly the same steps with a slight modification in the code within the steps.
When I compare the workflow logs for the posting step I see the data as follows.
Data updated with user id
SGTKKB01 Dialog work item created 12.05.2009 00:05:24
SGTKKB01 Execution started automatically 12.05.2009 00:05:25
SGTKKB01 Work Item Processing Complete 12.05.2009 00:05:31 Parked Document SG0115000087292009
Data updated with batch user id
Roy Siah Background work item created 03.07.2009 07:17:13
Roy Siah Execution started automatically 03.07.2009 07:17:13
Roy Siah START_EXECUTION_IN_BACKGROUND 03.07.2009 07:17:13 WITRFCID 911A35EB000E4A4DB079056F00000
Workflow system Execution started 03.07.2009 07:17:14
Workflow system Work Item Processing Complete 03.07.2009 07:17:20 Parked Document SG0115000094532009
The task has the following properties.
Background processing is checked
Agent assignment is not set
Advance with dialog is set.
Has this anything to do with "Scheduling background job for event queue" in SWU3 customizing?
Thanks in advance,
Abhishek