Can someone post an example of a simple Messagebox pop up in BPM Custom Code?

I have been trying to find a template for BPM Custom Code to pop up a message box so we can see if the code we are writing is working. Anyone have an example?

I am a newbie looking for some training…

Thanks

Search for PublishInfoMessage

or use MessageBox Widget

Ex: a. throw new Ice.BLException(string.Format("your message " ));
b. this.PublishInfoMessage(“your message” ,Ice.Common.BusinessObjectMessageType.Information, Ice.Bpm.InfoMessageDisplayMode.Individual, “”, “”);

So I have this code in the Enter Custom Code Window

string msg =“Test Message”;
this.PublishInfoMessage(msg,Ice.Common.BusinessObjectMessageType.Information, Ice.Bpm.InfoMessageDisplayMode.Individual,"","");

Nothing pops up…

When i say i am a newbie I have never successfully executed any code in BPM Custom Code. What Usings/References do i need to have for this to execute?

I know it is in the sequence of my BPM because both of my emails are firing in this…

Found the issue, needed to retype the “” … in this.PublishInfoMessage(“your message” ,Ice.Common.BusinessObjectMessageType.Information, Ice.Bpm.InfoMessageDisplayMode.Individual, “”, “”);