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

When to use a queued QAction

Solved1.17K views7th October 2020protocol QAction
4
Jens Vandewalle [SLC] [DevOps Enabler]9.44K 2nd October 2020 0 Comments

In which cases would it be advised to make use of a queued QAction?

Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 7th October 2020

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
João Severino [SLC] [DevOps Catalyst]13.02K Posted 2nd October 2020 1 Comment

As you can see in the help (link) the QAction is executed in a separate thread and placed running in the background.

It could be useful in scenarios where you may need to run multiple instances of the same QAction without waiting on each other.

It could also be used when you know a certain operation is going to be lengthy and you do not want that operation blocking others.

Do note that it should always be used with care and implement the correct locking mechanisms when applicable and also make sure that there is protection to avoid infinite loops as RTEs will no longer give you this indication.

Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 7th October 2020
Laurens Moutton [SLC] [DevOps Enabler] commented 5th October 2020

Do not use it in case you would want to process parameter sets entering at a high rate. For normal QActions it’s a blocking call and you can get the parameter value of the parameter that triggered it. Queued QActions do not have this blocking call functionality so even if you immediately perform a protocol.GetParameter call you could already retrieve the next parameter value that was present on the setparameter queue. In other words if there are two parameter sets “1” and value “2” on the parameter that triggers the QAction then the QAction will trigger two times but it could be that you read out twice parameter value “2”. Using the inputParameters attribute is also not an alternative to avoid this behavior. I tested this in the past and on a high rate you could also be missing parameter values. As a basic guide I would say only let it trigger by a button parameter that can only have one possible value else you could be doing twice the same thing instead of two different intended actions.

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