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

252 views4th June 2026Automation script solution
1
Gijs Kregting46 3rd June 2026 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

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 4th June 2026

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Tom Waterbley [SLC] [DevOps Enabler]10.21K Posted 3rd June 2026 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 3rd June 2026
Gijs Kregting commented 3rd June 2026

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.

0
Miguel Obregon [SLC] [DevOps Catalyst]23.13K Posted 4th June 2026 0 Comments

Hi Gijs,

Another option could be updating alarm templates via element import/export. For example, you can export the list of elements in a CSV file, update the alarm template column for the selected elements and import the updated CSV file. Existing elements will be updated with the new alarm template.

When updating the CSV file, you can remove entries for elements that don't require any update. Elements will not be removed if they are not available in the CSV file.

Hope it helps.

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 4th June 2026
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