So, if I create a var such as var_IUM how can I reference it (display it’s value) in a message box? I have tried this.var_IUM as well as {this.var_IUM} apparently I’m missing something or the message box widget doesn’t support this natively without other gyrations? Thanks!
this.PublishInfoMessage($“my variable {var_IUM}”, Ice.Common.BusinessObjectMessageType.Information, Ice.Bpm.InfoMessageDisplayMode.Grid, “PartEntry”, “Update-PreProcessing-TEST”);
This should work. Add this in custom code widget.
OR
EDIT: Right click in message box widget and you will see your variable.
3 Likes
Outstanding, thank you so much!
1 Like
Don’t forget the short version:
InfoMessage.Publish($"Hello {myWorldVariable}");
3 Likes
Great to know! Will keep that in mind. Thank you
1 Like