Hello,
I created a class to generate a popup to inform the user about the script failure. But, for some reason, the message is not displayed in the Popup, as you can see below.
This is the code:
Dataminer version: DataMiner (10.4.1.0-13639)
Thanks in advance
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th February 2024
Its seems like because you are taking the message as a parameter the first thing to do would be to check that is is in fact not null or whitespace via logging or debugging.
MAXIMILIANO FILHO [DevOps Enabler] Posted new comment 16th February 2024
Hi William,
I´ve already checked. I added the code below and the message appeared normally in the InfoEvents
_engine.GenerateInformation(“Message=” + popup.PopupInfo.Message);