Throw an Error from within updateable Dashboard BPM

(Brad Fraser) #1

I am searching for the best practice on throwing an error within an updateable dashboard Advanced Updated BPM and so far I haven’t found anything that works.

What is the best practice to throw the error?

(Brad Fraser) #2

I know I am missing something basic because if I try MessageBox.Show() I get:

System.Drawing.Bitmap CS0103 The name ‘MessageBox’ does not exist in the current context

(Chris Conn) #3

Note an exception in BPM will STOP the BPM:

throw new BLException("Your error");

For a msg box in BPM:

this.PublishInfoMessage("Your msg", Ice.Common.BusinessObjectMessageType.Information, Ice.Bpm.InfoMessageDisplayMode.Individual, "", "");