Do Events buffer object data?

Michael Pokraka workflow at quirky.me.uk
Mon Oct 6 08:32:59 EDT 2003


Hmmmm, I've answered my own question. The check function is evaluated at event ttime, not when it gets delivered from the queue.
Thus an event goes onto the queue, a document gets changed which would normally invalidate the check function. The workflow still gets triggered even though it's irrelevant.
Has anyone had to deal with this - I'd appreciate any feedback if you have. The obvious choice is to check everything in the WF. But is currently causing a headache with deleted documents causing the WF to fail (object doesn't exist).
 
Cheers
Mike
 
On Fri, Oct 03, 2003 at 11:22:07AM +0100, Michael Pokraka wrote:
> Hi all,
> I've encountered a somewhat odd behaviour on a 4.6c system when using the event queue. A test sequence which I can reproduce is as follows:
>
> A CREATED event is raised and passed into the event queue.
> The object is changed or deleted so that the start conditions should now fail.
> I raise another CREATED event directly via SWUE
> This one fails on start condition
> Later, the original event gets delivered off the queue.
> The start condition evaluates the old values and workflow is triggered
>
> My next step is probably to write my own check FM, but I thought I'd share that with the list, and perhaps even gain some insight from anyone who has encountered similar oddities...
>
> Cheers
> Mike
 


More information about the SAP-WUG mailing list