Skip to Content
author's profile photo Former Member
Former Member

Delegation of events not working

Hi all,

I created have ZAPPR_DOC as a subtype of APPR_DOC and have set the delegation from APPR_DOC to ZAPPR_DOC.

In ZAPPR_DOC, I have an asynchronous method which doesn't do anything, but will just be used to notify the employee of a pending appraisal document and is supposed to be terminated after the employee fills up his portion of the appraisal. Once the employee fills up his part, the appraisal doc will trigger a customised event ZCUSTOM_EVENT2. I have specified this event as the terminating event fot the Task in the workflow.

Now, when we test the workflow, the work item is created and sent to the employee. The employee then fills in the details into the appraisal form and submits the form. The event ZCUSTOM_EVENT2 is generated for the APPR_DOC, but it is not captured by the work item and so the work item is not completed and the flow simply hangs there.

Can anyone throw some light on why the event triggered for APPR_DOC is not captured by the workitem which is pointing to a method of ZAPPR_DOC.

Useful answers will be rewarded.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Apr 11, 2008 at 10:22 AM

    Hello Thiru,

    You should be using APPR_DOC everywhere and it should work.

    In other words: WF element based on APPR_DOC, task based on APPR_DOC.ZYOUR_METHOD, event APPR_DOC.ZCUSTOM_EVENT



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.