Throw an Error from within updateable Dashboard BPM

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?

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

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, "", "");
1 Like