Skip to Content
avatar image
Former Member

Restart BPM instance

Hi All,

I use a BPM to send message to a third-party system which is time to time off-line. In my BPM I use a loop to send the message maximumly 10 times. After times, this BPM should end.

I need to manually restart this BPM if the message is not successfully delivered to the third-party system after 10 retries . But as I know , a BPM instance can be restarted only when it runs into error status.

So after the loop, I create a bock to raise a exception to make the BPM end with a error if the message is not delivered to the third-party system. As expected, the BPM instance goes into error status, but I get an error "the workflow cannot be restarted" when I triy to restart it.

Regards,

Hui

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jan 14, 2008 at 02:52 PM

    HI Hui,

    A BP is restartable when the error is not caught by an exception branch or raised by control object. So just let the last attempt of the failing interface raise an error without catching it.

    Kind Regards,

    Frank

    Add comment
    10|10000 characters needed characters exceeded