Recalc of agents at deadline - use of local events

Mark Pyc mark.pyc at gmail.com
Thu Jun 8 06:30:00 EDT 2006


G'day all,

Below is an extract from one of Jocelyn's posts last year recommending the
use of header events with re-evaluation of agents as a way of making metric
info more accurate. A wonderful idea.

Can anyone comment if it's possible to use local events for this purpose. In
ECC 5.0 it seems not, but this seems crazy. I think this would be a perfect
use for local events.

Is it necessary to define an 'updateagents' type event on each object where
you want to do this? Or maybe an alternative is to create the event on the
FLOWITEM object.

Happy for any and all opinions.

Have fun,
Mark

 But if you are on a Basis 6.20 (e.g. R/3 4.7 or above) then there's an even
easier/better way:

* In the basic data (look for the "hat" icon in the workflow builder) you
can set up an event for the whole workflow, e.g. "updateagents" - mark it as
having the effect "re-evaluate rules on active work items"

* Before your step, save the original agent into a multiline container
element of type wfsyst-agent (or similar)

* In your step, assign the agents of your step as an expression pointing to
your multiline container element

* When the deadline occurs, raise a deadline event, e.g. "Latest end
reached" and in the deadline path, add your new agent to the multiline
container element, then fire off your "update agents" event.

Very, very effective, quite easy, and has exactly the affect you are after -
plus you keep a more accurate record of the time taken to action the work
item because you still have the original work item and therefore the
original work item creation date/time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060608/a20fdb2f/attachment.htm


More information about the SAP-WUG mailing list