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

Is there loop protection in DataMiner for buttons on tables?

Solved441 views8th July 2024Connector QActions
2
Michiel Saelen [SLC] [DevOps Enabler]5.63K 8th July 2024 0 Comments

In my connector, I iterate by pushing a button in a table until I reach the execution count. I noticed that the 3rd time the button is pressed the QAction no longer gets triggered. I can’t find a logical explanation for why the QAction is no longer triggered the 3rd time. Is there some loop protection built in DM that prevents me from using this logic?

Michiel Saelen [SLC] [DevOps Enabler] Selected answer as best 8th July 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
João Severino [SLC] [DevOps Catalyst]13.02K Posted 8th July 2024 3 Comments

Hi Michiel,

There should be no mechanism that would block your logic as a button is a write parameter and for those we trigger always even if the value is the same.

Are you always clicking the same row or clicking the button in each row?

Do you have any conditions or flows between the button and the QAction? (triggers, actions, …)

Michiel Saelen [SLC] [DevOps Enabler] Selected answer as best 8th July 2024
Michiel Saelen [SLC] [DevOps Enabler] commented 8th July 2024

Thanks for your reply. I added a log line just before the ‘protocol.SetParameterIndexByKey([PID], [key], [Y], [Value]);’ and it is the same values that are used when doing this. When I trigger it manually (pushing the button) in the table it does work. I added a sleep of 1s just before the parameter set was done, but it did not change the behavior.

Laurens Moutton [SLC] [DevOps Enabler] commented 8th July 2024

Are you using SetParameterIndexByKey to set the button (write parameter) in the table? If that is the case then this is not supported to trigger a qaction with row=”true” on such action as SetParameterIndexByKey is intended for a read column in a table, not a write parameter. Best is to have a parameter in between that contains value format like “buttonvalue;rowkey” and have a QAction that processes this. The qaction that triggers on the button sets this parameter and the iteration QAction also sets this same parameter with the correct format as described above.

Michiel Saelen [SLC] [DevOps Enabler] commented 8th July 2024

Thanks Laurens. It was working two times, but not the third time. I created now a buffer parmater instead and I’m going to move the logic to a QAction without row=true.

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