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
    • 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
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

How to trigger QAction logic via groups and a timer?

68 views2 days ago
0
Deema Mahmud [DevOps Advocate]168 2 days ago 0 Comments

Body:
I want to run a QAction via a timer-driven group and have it trigger other groups (HTTP/SNMP). 
One of the groups is an HTTP request session with a URL that needs to be polled dynamically.

Question:
How can I poll QAction logic and trigger it (including an HTTP request session URL) through groups and a timer, following best-practice patterns or examples?

Thomas Cauwelier [SLC] [DevOps Advocate] Answered question 2 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Thomas Cauwelier [SLC] [DevOps Advocate]1.64K Posted 2 days ago 0 Comments

Hi Deema Mahmud,
You can run QActions on a timer by creating a group of type poll action, and adding this group to your timer:

<Group id="1">
<Name>Run Qaction</Name>
<Type>poll action</Type>
<Content>
<Action>1</Action>
</Content>
</Group>

This Action needs to be of type run action that targets a dummy parameter:

<Action id="1">
<Name>Run QAction</Name>
<On id="1">parameter</On>
<Type>run actions</Type>
</Action>

<Param id="1">
<Name>Run Qaction</Name>
<Type>dummy</Type>
</Param>

This dummy will act as trigger for the QAction:

<QAction id="2" name="My QAction on a timer" encoding="csharp" triggers="1">

To start other groups from the QAction, you can use the protocol.CheckTrigger(2) method to start a trigger:

<Trigger id="2">
<Name>Do HTTP request</Name>
<Type>action</Type>
<Content>
<Id>2</Id>
</Content>
</Trigger>

This trigger starts the action that can execute the group with your http request:

<Action id="2">
<Name>Execute HTTP group</Name>
<On id="2">group</On>
<Type>execute</Type>
</Action>

<Group id="2">
<Name>Poll http request</Name>
<Type>poll</Type>
<Content>
<Session>2</Session>
</Content>
</Group>

This documentation could help you understand the pattern in more detail:
https://docs.dataminer.services/develop/devguide/Connector/InnerWorkingsSLProtocol.html

Thomas Cauwelier [SLC] [DevOps Advocate] Answered question 2 days ago
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