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

automation script actions : field remains red colored and doesn’t show a dropdown list

Solved2.20K views19th July 2023drop-down list generic SNMP index script table parameters
2
Dirk Van Herzeele14 19th February 2021 0 Comments

Hello,

I’m very new to writing scripts so maybe I miss some basics here but I am trying to write a simple script to change an output state of a Power device unit.

The unit uses Generic SNMP and has  a parameter table.

My problem is that I get the parameter <index>field but there is no dropdown list that appears and it’s also not possible to add some characters …? When clicking on <index> nothing happens …?

I tried to use another parameter (not a table parameter) like add parameter name or delete one and that works fine.

So how come that the <index> field remains red colored and doesn’t show a dropdown list of possible values (indexes) ?

Grts

Dirk

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

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Toon Casteele [SLC] [DevOps Enabler]7.01K Posted 19th February 2021 0 Comments

The reason there is no dropdown with possible values is because the parameter set is bound to your script dummy. A script dummy is basically an element of a specific protocol that is still to be chosen when you execute the script.

Now I realize that you can select a “configuration element” in your dummy, but all a configuration element does is allow you to use that element’s protocol for the rest of your script. The actual element selection can still change when you actually execute the script.

However, when you do select a configuration element and that configuration element has entries for your table, your index dropdown will be populated with the keys from that table.

If you don’t select a configuration element, we can’t show you a list of possible table entries as the entries can be different for every element. At that point you’ll have to enter a key manually.

In any case you have to enter a key as we also can’t set the parameter without knowing what table row to set it on.

Lastly there are several reasons why we always allow you to enter an index manually:

  • For when your selected element changes or is entered upon script execution, as mentioned above.
  • Tables are volatile, meaning a key that doesn’t exist now might exist when you execute the script.
  • Copy pasting a value from a table cell can be useful.

Hope that helps, let me know if you have further questions.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023
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