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

Abort automation script

Solved1.01K views8th March 2024Automation script
3
Ana Pinho [SLC] [DevOps Advocate]1.33K 7th March 2024 0 Comments

Hi Dojo,

I want to abort an automation script using:

ScriptControlMessage abortMessage = new ScriptControlMessage(DataMinerID)
{
ScriptID = scriptID, //this is the running automation script ID
Type = ScriptControlType.Detach // this aborts the script
};

How can I get the script ID when I only know the name?

IDmsAutomationScript only has Name, Description..

Thank you,
Ana

Ana Pinho [SLC] [DevOps Advocate] Selected answer as best 8th March 2024

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Robin Spruytte [SLC] [DevOps Advocate]647 Posted 7th March 2024 3 Comments

Hi Ana,

I could not find a way to request the active script IDs as seen in the screenshot from João's response. The ID is however returned as part of the ExecuteScriptMessage response, so that would be my only guess to be able to actually get a hold of these IDs if you decide to execute all scripts via this call.

Thomas Ghysbrecht [SLC] [DevOps Enabler] Posted new comment 8th March 2024
Ana Pinho [SLC] [DevOps Advocate] commented 7th March 2024

Hi Robin,

Thank you for the suggestion!
I tried it out on the client test tool with several automation scripts and I get always ScriptID 0.

Robin Spruytte [SLC] [DevOps Advocate] commented 7th March 2024

Hi Ana, I was using the ‘Follow’ option while executing scripts and then aborting them. I could see that ExecuteScriptMessage response had a ScriptId, and the abort message was using that same ID. I was executing from the Automation Module ‘Execute’ button. I’m not sure why that gives different results than doing it from Client Test tool. You could check if there are other properties missing in the ExecuteScriptMessage.

Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 8th March 2024

The script ID will only be returned when an interactive script is executed. (ExecuteScriptMessage contains ‘INTERACTIVE’ option)

You are viewing 1 out of 3 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