Buffer problem?
Mike Pokraka
wug.replies at workflowconnections.com
Tue Oct 25 12:33:31 EDT 2005
Hmmmm, this is a bit of a tricky one to resolve without the complete
picture. If you insert a WAIT UP TO 5 SECONDS in your attribute does it
work? If so it's an update prob, perhaps review the code. Do you buffer
the attribute in your code? What if you <ugh> force a read from the DB?
I've seen odd behaviour where e.g. a field isn't initialized and it
picks up a value from another work item...
Flavio Oliveira wrote:
> Hi Mike:
>
> It is a complete custom workflow with a new object. The atribute I am
> using is a virtual one...
>
> The field is not being changed. I can see the correct value on my
> container at the workflow log.
>
> The only "special" thing is that before I go back on the loop I go to a
> subflow (a diferent WS task).
>
> The workflow is working perfectly on owr development system, the problem
> is happening only in QA.
>
> Regards,
> Flavio.
>
>> From: Mike Pokraka <wug.replies at workflowconnections.com>
>> Reply-To: "SAP Workflow Users' Group" <sap-wug at MIT.EDU>
>> To: "SAP Workflow Users' Group" <sap-wug at MIT.EDU>
>> Subject: Re: Buffer problem?
>> Date: Tue, 25 Oct 2005 15:46:02 +0100
>>
>> Hi Flavio,
>> Is it a custom attribute? Virtual or DB field? What does executing the
>> item do? It seems like the item before is updating something and the
>> value isn't there yet or something like that.
>>
>> Cheers
>> Mike
>>
>> Flavio Oliveira wrote:
>>
>>> Hi everybody:
>>>
>>> I am having a strange problem that I think can be buffer related.
>>>
>>> My workflow has a loop and, the first step inside the loop is
>>> assigned to a user that I get from my object.
>>>
>>> When it pass the first time on the loop, no problem happens. Work
>>> item goes to the correct person, and he/she can execute it.
>>>
>>> But, if the WF goes back and pass into the loop again WF is not
>>> finding the user to direct the workitem.
>>>
>>> On the wf log I have the message WL795 (No selected agents). I looked
>>> at the container and the object value is ok there.
>>>
>>> If I go to transaction SWI2_ADM1 (Work items without agents) and
>>> click on the button "Execute Agent Rules", the workitem goes to the
>>> correct person (based on the object atribute), but if it has to pass
>>> throught the loop again, I will have the same problem.
>>>
>>> I've already tried to SWU_OBF (Synchronize Runtime Buffer), but is
>>> still not working.
>>>
>>> Does anybody have any idea what is happening?
>>>
>>> Thank you,
>>>
>>> Flávio.
>>>
>>>
>>> _______________________________________________
>>> SAP-WUG mailing list
>>> SAP-WUG at mit.edu
>>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>>
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
More information about the SAP-WUG
mailing list