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
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • 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

Find my own automation script name

Solved210 views4 days ago
3
Henri Martins [DevOps Advocate]660 5th September 2025 0 Comments

Hi.  I need to get on an automation script, the name of this automation script.

Doing this, I could do a generic code to send me an email that indicated this script haven't work.

kind regards

Henri Martins [DevOps Advocate] Selected answer as best 7 days ago

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Tom Waterbley [SLC] [DevOps Catalyst]9.02K Posted 7 days ago 0 Comments

Hi Henri,

Since DMA version 10.5.6, the Engine class contains a private field _scriptName, but unfortunately this isn’t publicly exposed. With reflection however, it’s possible to retrieve the value:

var scriptNameField = typeof(Engine).GetField("_scriptName", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
var scriptName = scriptNameField.GetValue(engine) as string;

engine.GenerateInformation("Script name: " + scriptName);

Important note:

While this works, it is of course a bit of a workaround and should be used with care. There is no guarantee that this will keep working in future DataMiner versions.

As Jorge already mentioned, you could also submit a new feature suggestion.

Tom Waterbley [SLC] [DevOps Catalyst] Edited answer 4 days ago
You are viewing 1 out of 2 answers, click here to view all answers.
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

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