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
    • 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
    • Climb the leaderboard!
    • Swag Shop
  • Downloads
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • >> Go to dataminer.services

Automation – How do custom entrypoints work?

Solved2.43K views8th October 2020Automation CSharp
16
Joey Vanhalst [SLC] [DevOps Advocate]1.85K 8th October 2020 0 Comments

I'm trying to use custom entrypoints in an Automation script but can't figure out how exactly to use this.

When I add the following C# code in my script, the script can't compile because of syntax errors:

However, when I add an additional Script class (even commented out), the script seems to compile:

The problem is that I can then still not execute my script correctly. The script can only be executed if I add a Script class with a Run method, but then this Run method is used as entrypoint.

Am I doing something wrong or could this feature currently be broken (I have been testing using 10.0.9.0-9365)?

I also noticed that there is not only a "Default" AutomationEntryPointType, but that you can also add an additional "AutomationEntryPointTest" entry point. How does DataMiner determine which one to trigger in case both are defined in your script?

Joey Vanhalst [SLC] [DevOps Advocate] Selected answer as best 8th October 2020

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
7
Laurens Vergote [SLC] [DevOps Advocate]368 Posted 8th October 2020 0 Comments

Automation scripts with custom entry points cannot be started using the Cube interface.

In order to start an automation script from a custom entry point you need to send the "ExecuteScriptMessage" (Fill in CustomEntryPoint) to SLNet. This is where you select the entrypoint for the script.

You will need to specify either:

  • An empty Script class, containing no methods/properties whatsoever
  • Define the different entrypoints in the Script class.

This is because the code will automatically wrap your entire C# block in a Script class if none is present. This is to accomodate small automation scripts that do not specify classes or methods.

The different entry points defined at the moment are tailored for specific use cases and are only called by the server itself (for SRM for example).

Laurens Vergote [SLC] [DevOps Advocate] Answered question 8th October 2020
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