Workitem error - workflow administrator is not notified

Carolyn Fuller fuller at MIT.EDU
Mon Oct 20 15:43:13 EDT 2003


Karen,
 
I assume you are calling a custom program for your update function?
 
We are calling a standard SAP transaction, FBV0, which must be
triggering the 3 terminating events, CHANGED, DELETED, POSTED, that
this task is expecting. Before I investigate further custom code, I'd
like to better understand why the workitem which is clearly in error,
is not being routed to the workflow administrator automatically.
 
Carolyn
 
On Monday, October 20, 2003, at 02:35 PM, Weaver, Karen wrote:
 
> Since you are using asynchronous method, you need a terminating
> event(s).  I
> had a custom FM which performed an update function.  After the update
> was
> performed, I triggered either a successful event or an error event
> depending
> on the outcome of the update.  In my workflow step, that workitem is
> terminated by one of my two events set up in the terminating events
> tab.
>
>
> -----Original Message-----
>> From: Carolyn Fuller [mailto:fuller at MIT.EDU]
> Sent: Monday, October 20, 2003 2:22 PM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Re: Workitem error - workflow administrator is not notified
>
>
> David,
>
> How does one implement exceptions with asynchronous methods?
>
> Carolyn
> On Monday, October 20, 2003, at 01:13 PM, David E. Yung wrote:
>
>> Carolyn,
>>
>> I don't know why you are getting this problem but a suggestion that I
>> have with regards to your workflow is that since you are using a
>> custom method, you can raise an exception from within this method when
>> an error occurs and then catch it in the workflow.  When this
>> exception is caught, the workflow can explicitly send a message to the
>> Administrator.
>>
>> If you can't find a way to fix your problem with the standard
>> configuration for error handling and administrator notifications, this
>> may be a viable option.
>>
>> Regards
>>
>> David Yung
>>
>> -----Original Message-----
>>> From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
>> Carolyn Fuller
>> Sent: Monday, October 20, 2003 09:08
>> To: SAP-WUG at MITVMA.MIT.EDU
>> Subject: Re: Workitem error - workflow administrator is not notified
>>
>> Jocelyn,
>>
>> Yes, I did attend BC601 & BC610. SWU3 was covered but the override in
>> the workflow header data was not covered. I figured that out back on
>> the job after the classes. By the way, I did not figure out what the
>> workflow template "responsible person" does (PFTC_CHG -> Additional
>> data -> Person responsible -> Create). Do you know?
>>
>> In the case I mention below, the workflow administrator set via SWU3
>> has not been overridden by the workflow header data. Therefore, my
>> expectation is that our workflow administrator would receive a notice
>> when the error occurred, but she did not. In fact the same error
>> occurred a half dozen times before someone contacted her to research
>> what was happening.
>>
>> The workitems in error were executing a custom asynchronous method
>> which was attempting to post an FI document via FBV0. The errors were
>> caused because the person executing the step lacked the necessary
>> authorizations for posting FI documents. I find the documentation
>> concerning exception handling and asynchronous methods to be somewhat
>> confusing, but I'm assuming that since the workitem was in error, the
>> lack of exception handling in this asynchronous method is not the
>> issue.
>>
>> So, I'm still at a loss as to why the item did not appear in the
>> workflow administrator's inbox. Any ideas?
>>
>> Carolyn
>> On Sunday, October 19, 2003, at 07:41 PM, Dart, Jocelyn wrote:
>>
>>> Hi Carolyn,
>>> Have you attended any of the workflow courses as yet? Specifically
>>> BC601 or BIT601?
>>> A mail notifying the workflow administrator (as specified in
>>> transaction SWU3 or in the workflow header data) of the error is sent
>>> so that the workflow administrator can fix it.
>>> Of course the work item in error still sits in the agent's inbox if
>>> that is where it was before the error.
>>> Error work items are not redirected.
>>> Regards,
>>>         Jocelyn Dart
>>> Consultant (SRM, EBP, Workflow)
>>> and co-author of the book
>>> "Practical Workflow for SAP"
>>> SAP Australia
>>> email: jocelyn.dart at sap.com
>>> phone: +61 412 390 267
>>> fax:   +61 2 9935 4880
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>>> From: Carolyn Fuller [mailto:fuller at MIT.EDU]
>>> Sent: Saturday,18 October 2003 6:23 AM
>>> To: SAP-WUG at MITVMA.MIT.EDU
>>> Subject: Workitem error - workflow administrator is not notified
>>>
>>>
>>> Hi all,
>>>
>>> We have a workitem that has an error status. It went back into the
>>> initiator's inbox instead of the workflow administrator's inbox. I've
>>> checked the workflow template header tab, "Responsibs." and the
>>> "System
>>> administrator for workflow expression" is empty. Are there other ways
>>> to override where workitems in error are routed?
>>>
>>> ---
>>> Carolyn Fuller
>>> Massachusetts Institute of Technology
>>> Financial Systems Services
>>> Senior Analyst/ Programmer
>>> (617) 253-6213
>>> http://fuller.mit.edu/
>>>
>>
>> ---
>> Carolyn Fuller
>> Massachusetts Institute of Technology
>> Financial Systems Services
>> Senior Analyst/ Programmer
>> (617) 253-6213
>> http://fuller.mit.edu/
>>
>
> ---
> Carolyn Fuller
> Massachusetts Institute of Technology
> Financial Systems Services
> Senior Analyst/ Programmer
> (617) 253-6213
> http://fuller.mit.edu/
>
 
---
Carolyn Fuller
Massachusetts Institute of Technology
Financial Systems Services
Senior Analyst/ Programmer
(617) 253-6213
http://fuller.mit.edu/
 


More information about the SAP-WUG mailing list