Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Automation notification pop-up to all users

Solved1.63K views18th June 2021Automation Automation script pop-up
2
Blake Smethers [SLC] [DevOps Advocate]980 17th June 2021 0 Comments

I'd like to create an automation script that notifies all users with a pop-up message when a certain error alarm is generated.

In the DataMiner Help I found documentation on FindInteractiveClient method to display this pop-up and tested using a quick scheduled task. While testing, I used some colleagues to verify if they saw the pop-up, and they did not. When I run it, I am able to see the pop up from the call. When they run it, I am still the only one who sees it. My method call is below (close to the example in the Help):

string allowedGroups = "Administrators;Engineers";

bool ok = engine.FindInteractiveClient("Hello world", 100, allowedGroups, AutomationScriptAttachOptions.None);

And verifying it, I saw that the other users I tested with (3 separate people) were all within the allowedGroups and connected on the same DMA IP using 10.0.9.

Any idea as to why not everyone sees the pop-up message?

Thanks in advance.

Blake Smethers [SLC] [DevOps Advocate] Selected answer as best 18th June 2021

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Ruben Vandepitte [SLC] [DevOps Advocate]2.28K Posted 18th June 2021 1 Comment

In case there is no specific reason for letting clients 'attach' to the pop-up, perhaps a BroadCastPopupRequestMessage is the better choice here?

Blake Smethers [SLC] [DevOps Advocate] Selected answer as best 18th June 2021
Blake Smethers [SLC] [DevOps Advocate] commented 18th June 2021

Good idea Ruben, didn’t know about that. We stuck with this message, but the attach is useful for seeing which user acknowledges the alarm as that generates an information event.
Thanks!

1
Leander Druwel [SLC] [DevOps Member]2.02K Posted 17th June 2021 4 Comments

Hi Blake,

I also noticed following in the DMS Help. Do you have the same behaviour also if you would link it to a correlation rule or scheduled task?

If, as an interactive client, you manually execute a script from DataMiner Cube, you are automatically attached.

Blake Smethers [SLC] [DevOps Advocate] Posted new comment 18th June 2021
Blake Smethers [SLC] [DevOps Advocate] commented 17th June 2021

Indeed, I saw no behavior if I did not use the scheduler or correlation. So when testing, I created a scheduled task that ran the automation that I could run manually. Even then, only I saw the pop-up.

Leander Druwel [SLC] [DevOps Member] commented 18th June 2021

I’m unsure about what it going wrong, but would still propose following:

1. Update the code to use AutomationScriptAttachOptions.DisplayPopup (https://help.dataminer.services/dataminer/#t=DataMinerUserGuidepart_7CsharpReferenceAutomationScriptAttachOptions_enumeration.htm)

2. Try with a single group instead of multiple groups, just to see if that would be working fine.

Aside from that, I assume obviously that the groups exist and the users are into that security group. I tried it myself on 10.1.7 but seems to be working as expected.

Blake Smethers [SLC] [DevOps Advocate] commented 18th June 2021

I tried those two things and saw no change in behavior which I wasn’t expecting.
Perhaps it was buggy behavior, my main guess was that due to the DMS, it was only popping up for people on a certain DMA.
There was at one point someone else received the pop-up, but when I later tested with the same person (on the same account and without the code changing) they did not receive a pop-up.
I will test some more today and let you know if I notice any different results.

Blake Smethers [SLC] [DevOps Advocate] commented 18th June 2021

Hey Leander, after some more testing this morning – initially I tested and I did not receive the pop-up, while James did. When I reconnected to cube, we both received the pop-up.
My cube session was kept open from the previous night. That leads me to believe if you leave a session open too long, you will not receive the pop-up anymore. In the meantime, we implemented the BroadcastPopupRequestMessage for now.
Thanks for the help!

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin