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

Deadline Branch not working

Hi All,

I configured a simple BPM scenario with a Block step with 3 braches namely

1. Normal Branch(one receive step with in infinite loop step).

2. dead line branch with 1 min timeout. within this a control step to throw exception

3. Exception branch with no Action(no steps inside this branch)

And Obviously there is a send step outside the block (For File system).

I am not using any mapping case or even a container operation for collecting message.

My intention is only to understand deadline branch.

I am sending data from HTTPClient. The message comes to BPM. Ideally after 1 min.deadline should get executed (the infine loop should break) and I should see a response in the File System.

But this is not happening. So I followed some previous threads in Forum and I found a solution(not automatic) to make this scenario working.

The link : [Deadline monitoring not working;

In this thread I followed >> Ran the program RSWWDHEX in foreground

when I execute the above program in SE38 I am seeing a status message "'1' entries have been edited".

And Deadline monitor gets executed and I am getting response to my file system.

But this is not the solution I am looking for.

How can I make my workflow(deadline branch) automatic.

Please help me out.



Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 13, 2008 at 10:10 AM

    Dear Avispra,

    Though a screenshot of your BPM should be more convenient to analyze what you've done, I have the following question : in your DeadlineBranch, you do raise an Exception that should be trapped by the ExceptionBranch, don't you ? So, if this ExceptionBranch has no action defined, you won't see any visible effect of the deadline monitoring (but it should be visible in the workflow log for each executed instance of this BPM)

    We use deadline monitoring feature in our BPMs, to make sure we do not have BPMs running for too long - either raising exceptions or throwing alerts - and it works

    I'd suggest adding a control action in your exception branch just to throw a dummy or generic alert, it would ensure the deadline features has been triggered

    Hope this helps


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Patrick,

      >Use t-code SWU3 and execute Schedule Background Job for Missed Deadlines then you can enter a time interval for that job.

      I think it worked for me. I dont know why it is not worked initially. But after two days it started working.

      May be server restart caused the change.

      Any how thanks for helping. I am rewarding the points and closing this thread.



  • author's profile photo Former Member
    Former Member
    Posted on Apr 19, 2008 at 04:04 AM

    yes answered

    Add comment
    10|10000 characters needed characters exceeded