Skip to Content

workflow deadline monitoring workitem exit

Hello i'm quite new to workflow and still practicing. I'm trying to understand exactly how the deadline monitoring of workitem works.

I've created a simple workflow with a decision task, with lastend set at 3min.

The reminder is being send correctly to the sapoffice inbox.

I wanted to use the workitem exit too. i've build the custom class and my method follwing the tutorials.

i have on issue when i'm trying to update a table when the deadline is reachted and no action as been taken.


i'm trying to trigger the event like this:

*get the context to retrieve the paramter to call the methods
  me->wi_context = im_workitem_context.
*call the methods depending of the event name.
  CASE im_event_name.
    WHEN swrco_event_after_rule_exec.
      me->afterdeadline_reminder( ).

in my method i get the rules like this

 lt_agents =  wi_context->get_rule_result( ).

then i insert the data in a table, but it's not working.

What do i miss please?

how can i debug it? i can put a break point in the method but i don't understand how catch when the method starts.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 12, 2016 at 08:52 AM

    Hi Marco,

    What is the intent of updating a table?

    Are you trying to see if the exit is working?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 14, 2016 at 08:30 AM

    Hi Marco,

    Instead of using the exit you may use modeled deadline monitoring.

    Create another method/ task which does the table update , you will have much more flexibility by using modeled deadline monitoring.

    Please refer to the below link:

    Modeled Deadline Monitoring or Standard Escalation



    Add comment
    10|10000 characters needed characters exceeded