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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • 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
    • 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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Triggering a QAction upon element deletion

Solved891 views4th June 2024element deletion QAction SLNet
4
Chian Hao Aw [SLC] [DevOps Advocate]650 6th February 2024 0 Comments

Hi Dojo,

I have an element which tracks other elements in a Dataminer agent and stores their information in a table. If a tracked element is deleted from Dataminer, is it possible to catch the SLNet message (or some other indicator that tracks the deletion of the element) in the connector and run a QAction to reflect the changes? Or do we have to continuously check if the elements tracked continue to exist in the Dataminer system?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 4th June 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
5
Tom Waterbley [SLC] [DevOps Catalyst]8.89K Posted 6th February 2024 3 Comments

Hi Chian,

In your connector you could use ‘Monitors’ to subscribe on element state changes. This is described on the following page: https://docs.dataminer.services/develop/devguide/ClassLibrary/ClassLibraryMonitorsGettingStarted.html. The page also contains an example of how you can do this.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 4th June 2024
Michiel Oda [SLC] [DevOps Enabler] commented 6th February 2024

@Chian
Maybe also add an option to switch to a polling based system in case subscriptions would cause too big of a load on a big system.

Tom Waterbley [SLC] [DevOps Catalyst] commented 6th February 2024

That’s actually a very good remark! However, a subscription is only created once for the entire DMS, rather than for each individual element.

Michiel Saelen [SLC] [DevOps Enabler] commented 6th February 2024

I’m not sure if you can do this with the Monitors library, but it is possible to create one subscription on all ElementStateEventMessages. This way you only need one subscription.

2
Miguel Obregon [SLC] [DevOps Catalyst]19.13K Posted 6th February 2024 0 Comments

Hi Chian,

A possible option is to catch the information events related to the element removal through a correlation rule:

The correlation rule could set a parameter in your manager element to trigger a specific workflow.

Hope it helps.

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 6th February 2024
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
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