0 Replies Latest reply on Aug 9, 2012 1:32 PM by cdsosi

    Raise Business Exception Programmatically?

    cdsosi

      Hi,

       

      Does anybody know if it is possible to raise a Business Exception programmatically through :

      a- a Script Task ?

      b- in an On Exit Action of a Human Task ?

      c- within a WorkItemHandler ?

       

      By Raising Business Exception programmatically I mean Throwing Error Event programmatically that could be Catched By a Boundary Event.

      Use case is a Boundary Event directly set on an User Task : an "On Exit Action" could make some basic verification on user input and eventually raise an Error Event.

       

      Of course there are others solutions such as making some modifications of the process design but that's not I want to do

       

      Kind Regards