Adding question Message Box

I am writing some custom code for my BPM (Data Directive). If one wants to display an informational message here there is PublishInfoMessage(…); Is there a way to display a messagebox that asks a question? Kind of like the YESNO in windows but in the BPM Custom Code?

A BPM data form is what you would usually use for that. While that’s not in custom code, it’s a lot easier. I don’t know of a quick easy way to do that in code.


Thank you. I just found a video on how to do that and incorporate my custom code so I will pursue that. Once again thanks for the guidance.