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
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book your Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Assigning more Configuration Elements to Automation Script

59 views6 hours agoAutomation script solution
1
Gijs Kregting46 8 hours ago 0 Comments

Hello Skyline Community,

I'm using a automation script where each night a lower priority alarm template is assigned to a configuration element, and in the morning the script activates the regular alarm template again.

However I want to assign this script to a large amount (300+) of elements, and the only way to do this is by manually creating dummies. Is there a way to assign a large amount of Configuration elements under a single dummy? Or maybe choose all elements under a dummy which use a specific alarm template?

Thank you

Tom Waterbley [SLC] [DevOps Enabler] Answered question 6 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Tom Waterbley [SLC] [DevOps Enabler]10.18K Posted 6 hours ago 1 Comment

Hi Gijs,

You don't necessarily need an input dummy parameter to access elements from an Automation script. Instead, you can retrieve the required elements directly in code. For example:

var filter = new ElementFilter
{
ProtocolName = "Protocol Name",
ProtocolVersion = "Production",
};

var elements = engine.FindElements(filter);

foreach (var element in elements.Where(e => e.RawInfo.AlarmTemplate == "..."))
{
element.SetAlarmTemplate("...");
}

Depending on your use case, there are other ways to retrieve elements as well. For example, if all relevant elements are grouped in a view, you can retrieve them as follows:

var elements = engine.FindElementsInView("View Name");

This approach avoids the need for a dummy parameter and gives you flexibility in selecting the elements you want to work with.

Gijs Kregting Posted new comment 5 hours ago
Gijs Kregting commented 5 hours ago

Hello Tom,
Thank you for your reply. I'm not the best in creating C# code and was hoping for a "GUI solution", but I'm going to give it a try.

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

© 2026 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