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
  • Blog
  • 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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Calling script from a driver

Solved1.98K views18th July 2023Automation driver protocol script
2
Hugo REHBEN203 13th September 2021 0 Comments

Hello dataminer community,

I wanted to know if there is a function to call and execute an automation from a driver ?
To let you know the context : I am currently working on a driver links to a deicing device. The driver allow us to access to a service in DMS, on this service we can find few buttons, two of them are called “Stop & Start”. When I click on them, I would like to call and execute a script/automation which will allow the deicing device to Run or to Stop.

Thanks in advance,

Hugo R.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2023

4 Answers

  • Active
  • Voted
  • Newest
  • Oldest
8
Rene De Posada [SLC] [DevOps Advocate]1.89K Posted 13th September 2021 0 Comments

It is possible to execute a script from a driver. To do so, call the ExecuteScript method as specified in the connector development user guide (Link).

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2023
7
Geovanny Galeano [SLC] [DevOps Advocate]725 Posted 13th September 2021 0 Comments

Adding to the answer above since the documentation doesn’t describes in case you need to pass parameters to the script.

In the scriptOptions array you can also have and item with String.Format(“PARAMETERBYNAME:{0}:{1}”, param.Key, param.Value)

Key is the name of the parameter defined in the automation script

Value the object sent from the protocol to the automation

Geovanny Galeano [SLC] [DevOps Advocate] Answered question 13th September 2021
0
Hugo REHBEN203 Posted 14th September 2021 0 Comments

Hello again,

I just noticed in the user guide that this function was available from DataMiner 10.0.5 onwards. Luckily, could it work with 9.6.0.0 ?
Thanks by advance,
Hugo R.

Hugo REHBEN Answered question 14th September 2021
0
Hugo REHBEN203 Posted 14th September 2021 0 Comments

Hello Rene & Geovanny,

Thanks to both of you for your fast reply.
I am going to test with the function ExecuteScript today, I will update the thread if it solved my issue. Also, for the moment I do not need to retrieve parameter to the script but it is always good to know.

Have a good day,

Hugo.R

Hugo REHBEN Answered question 14th September 2021
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