[jboss-user] [jBPM] - Re: Timer Boundary Event on ScriptTask ClassCastException raised at KnowledgeBase creation

Maciej Swiderski do-not-reply at jboss.com
Mon Aug 27 01:48:10 EDT 2012


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Timer Boundary Event on ScriptTask ClassCastException raised at KnowledgeBase creation"

To view the discussion, visit: https://community.jboss.org/message/756044#756044

--------------------------------------------------------------
In general boundary events are supported on individual tasks and not only on composites but as the errors indicated they are only supported for state based nodes like user task, work item task, etc as for automatic activities where process does not stop at all boundary events do not make much sense in my opinion. 

What use case do you have to put a boundary event on script task? it would never be triggered as process will run through script task without stopping mean no chance that anything will trigger boundary event on it...

In master there is already a validation check to provide more meaningful information on such cases instead of throwing class cast exception.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/756044#756044]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120827/4f736a3e/attachment.html 


More information about the jboss-user mailing list