MessageCatchEvent with a timeout?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2015 06:12 AM
Hi,
I have a messagecatchevent node in a diagram in 5.14, which waits until it is triggered by an external JAR running outside of Activiti. Sometimes this jar may have an unhandled exception, after which it doesn't message back to the activiti diagram's messagecatchevent.
Is there a way to set a maximum duration to the messagecatchevent so that if it hasnt recieved anything by a given time, it carries on automatically, or takes another route?
Regards,
I have a messagecatchevent node in a diagram in 5.14, which waits until it is triggered by an external JAR running outside of Activiti. Sometimes this jar may have an unhandled exception, after which it doesn't message back to the activiti diagram's messagecatchevent.
Is there a way to set a maximum duration to the messagecatchevent so that if it hasnt recieved anything by a given time, it carries on automatically, or takes another route?
Regards,
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2015 11:05 AM
Add a timer boundary next to the message catch to get that timeout.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2015 11:59 AM
Thanks Jorram, but wont this mean that the MessageCatchEvent will remain open forever in the database? Hence someone could theoretically start that event and redo work already executed by the timer next in the sequence?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2015 04:42 AM
No, the message catch event will be deleted when the embedded subprocess is destroyed.
