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
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

trigger QAction via row attribute block the timer/action that works before on it

Solved37 views7 hours agoQAction timer
1
Marco Di Blasi316 8 hours ago 0 Comments

Hi all

I had a strange behavior that I don't know how to explain, and in case there is a workaround

Right now, I have a custom connector where there is a table filled with different endpoints, polling time, and last poll execution. There is a timer->group->action->parameter that triggers a QAction. This action picks every row in the table, compares polling time/last poll execution, and in case poll information from the endpoint.

Now I tried to add an extra parameter (button for each row) that will enable the possibility to force the poll for the selected row, so I went to add an extra trigger in the QAction and set the attribute row=true but I noticed that if I set this attribute, the trigger via timer will not work anymore :/

It is possible that if I had this row attribute, I would implicitly disable any other kind of interaction?

Marco Di Blasi Selected answer as best 7 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
João Severino [SLC] [DevOps Catalyst]13.81K Posted 7 hours ago 3 Comments

Hi Marco,

You ran into a limitation of the QAction triggers.

You can only have QActions trigger on "normal" parameters or on row parameters, but not on both simultaneously.

A workaround that you could look into is to have 2 QActions

  • one for "normal" flow and without the row=true option
  • another with the "force" flow and with the row=true option

Then, to make your code reusable, you could move the existing code into a precompiled QAction and reference it from your 2 other QActions.

Marco Di Blasi Selected answer as best 7 hours ago
Marco Di Blasi commented 7 hours ago

Hi Severino
I suspected that, thanks for the confermation than.
Just to be sure, the approch should be bring my QAction as precompiled, let it be used by the timer, and for the row I will create a new one that relay on the precompiled QAction, I'm right? Or I need 2 new QAction, one for the timer and nother for the row?

João Severino [SLC] [DevOps Catalyst] commented 7 hours ago

You should move your code from your existing QAction into a new one that has the precompile option and point your existing one to it.
Then create a new one and also point to the precompile

You should end up with something similar to the following

<QAction id="1" name="Precompiled Code" encoding="csharp" options="precompile">
…
</QAction>
<QAction id="2" name="Process Timer" encoding="csharp" triggers="2" dllImport="[ProtocolName].[ProtocolVersion].QAction.1.dll">
…
</QAction>
<QAction id="3" name="Process Button" encoding="csharp" triggers="3" row="true" dllImport="[ProtocolName].[ProtocolVersion].QAction.1.dll">
…
</QAction>

Marco Di Blasi commented 7 hours ago

Hi Severino

Thanks a lot for answering! and for the example, I'll try to fix it in this way then!

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