Hey everyone,
In DataMiner, I would like to show a pop-up error message to everyone in a certain user group. Because the trigger for the pop-up would originate from a non-interactive script, I don't really know how to do this.
Is there someone that can help me with this?
In an Automation script executed from a background task e.g. a Correlation action, you can use the FindInteractiveClient method to ask for input from a user.
In a message box, the user will be asked to click either Attach or Ignore:
-If the user clicks Attach, the script will start in a pop-up window.
-If the user clicks Ignore, the message box will be closed.
For example:
string allowedGroups = "groupA;groupB";
bool foundUser = engine.FindInteractiveClient("User feedback required!", 100 , allowedGroups, AutomationScriptAttachOptions.None);if (foundUser)
{
engine.GenerateInformation("Attached! As " + engine.UserDisplayName);
engine.ShowProgress("A message");
engine.ShowUI("Another message", true);
}
else
{
engine.GenerateInformation("No user attached to the script");
}
More details can be found in the help (link).
I’m not familiar with the details, but we do have a pop-up notification also for bookings in SRM that are about to start. That capability cannot be leveraged for this use case? Or is it really linked to a booking exclusively?