Problem in Agent determination

Gonzalez Cartagena, Cristian A. CGONZALEZ at cl.soluziona.com
Thu Mar 17 11:26:58 EST 2005


Jocelyn,
 
The event is raising at the end of a gui transaction in 4.6C, where users
input the data to be approved by a supervisor (an agent determined in the
custom FM from the data he/she has entered). So it´s a common scenario.
 
I'm adding an empty background method before the first step, following your
suggestion from a similar situation form the archives. Don´t know at this
moment if this helps, because the errors occur at non predictable times.
 
Another idea? thanks in advance,
 
 

Cristian

 -----Mensaje original-----
De:   <mailto:jocelyn.dart at sap.com> jocelyn.dart at sap.com
Enviado el: Miércoles, Marzo 16, 2005 11:17 p.m.
Para: SAP Workflow Users' Group
Asunto: RE: Problem in Agent determination



Sounds like a timing/perfomance problem - maybe the data you use to find
your agent doesn't exist/isn't updated at the workflow starts? Wouldn't
happen to be a PCR or ISR scenario by any chance?  Or are you raising events
via a batch process?
 
You could try slowing it down by sending your event linkage to the event
queue and using the event queue job to deliver the events.  See trans
SWEQADM. 
 
Jocelyn 


  _____  

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Gonzalez Cartagena, Cristian A.
Sent: Thursday,17 March 2005 4:02 AM
To: 'sap-wug at mit.edu'
Subject: Problem in Agent determination



 Hi All, 

We have a simple rule that determines the agent from a Z table, using PFAC. 
In QA environment the workflow was tested OK, but in PRD client we got a
problem "Workflow nnnnn step 61: Error or exception resolving role
'AC90100004' ".

The error occurs in the first task of the workflow. 

If workflow is  restarted from transaction SWPR, the user task is routed to
the right agent. 

The problem is for the same user starting the same workflow in different
times along one day: some workitems are OK, but other workitems are wrong
(appear in SWI2_DIAG with "agent" mark).

Any help is highly appreciated. 

Cristian 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050317/1d907334/attachment.htm


More information about the SAP-WUG mailing list