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 – Iterate through rows

Solved787 views3rd June 2024Automation
3
James Stokell [DevOps Advocate]493 30th May 2024 0 Comments

I was wondering if you'd be able to give me some guidance on whether what I want to achieve is possible in automation without having to write any C# code...

I want to make two scripts;

  1. One which is given a neuron element name, and iterates through every row in a given table, and changes a parameter in that table to 'Enabled' (which resets a counter).
  2. Another script which gets every element in a given 'View', and feeds them to the above script, so that I can run the above script on all neurons in a given view.  P.S. I want to make two separate scripts so that I can either run this on a single neuron, or all of them.

Thanks, James.

James Stokell [DevOps Advocate] Selected answer as best 3rd June 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Ben Vandenberghe [SLC] [DevOps Enabler]9.06K Posted 30th May 2024 1 Comment

Hi James - definitely working with two scripts is the way forward.  I would even recommend that if you would not be planning on using the scripts individually or combined, just for modularity and to make it easier to maintain.  But you can definitely run an automation to iterate on all elements in a view and then launch a subscript on each of those (changing that parameter to enabled).

I'm not that versed at creating automation scripts, but I doubt that both would be achievable without C#.  But not 100% sure, so let's see if some more experienced people can confirm.

Maybe quick question in that respect, is the number of items in the table fixed (e.g. related to a fixed / pre-defined number of input ports) or can it be variable from one Neuron to another?

James Stokell [DevOps Advocate] Posted new comment 31st May 2024
James Stokell [DevOps Advocate] commented 31st May 2024

Hello Ben.

Thanks for your answer, as for your question; it can vary between 32 and 64 rows, but this is deterministic from the FW the neuron is running. That said it would probably be more reliable to just get the count of rows and doing a for loop, but I see no way to do that without having to write C#, so I’m pretty sure the answer is you can only iterate through a table with C# but I’m hopeful that’s not the case, but if it is I’ll give it a go.

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