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
    • Kanban workshop
    • 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
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

API Driver

Solved173 views16th May 2025API driver protocol
1
Jose Araujo [DevOps Advocate]528 15th May 2025 0 Comments

Hi,

I am developing a driver to get parameters from an API, but I’m stuck on an issue.

I need to execute a QAction right after the driver starts and display the result of that QAction. However, when I run the driver, the QAction does not execute.

Please correct me if I’m wrong, but I think the order to trigger things is:

Timer -> Action -> Group -> QAction?

Here is my code:

<QActions>
<QAction id="101" name="PingCheck" encoding="csharp" triggers="10">
</QAction>
</QActions>

<Groups>
<Group id="10">
<Name>Update Parameters basic</Name>
<Description>Updte info of Titan Live</Description>
<Type>poll</Type>
<Content>
<Param>11</Param>
<Param>12</Param>
<Param>14</Param>
<Param>15</Param>
</Content>
</Group>
<Group id="20">
<Name>Update Parameters advance</Name>
<Description>Updte info of Titan Live</Description>
<Type>poll</Type>
<Content>
<Param>1101</Param>
<Param>1102</Param>
<Param>1103</Param>
<Param>1104</Param>
<Param>13</Param>
<Param>16</Param>
</Content>
</Group>
<Group id="30">
<Name>Server Status Group</Name>
<Type>poll</Type>
<Description>Ping encoder API</Description>
<Content>
<Action>1</Action>
</Content>
</Group>

</Groups>

<Triggers>
<Trigger id="1">
<Name>health trigger</Name>
<Time>after startup</Time>
<Type>action</Type>
<Content>
<Id>1</Id>
</Content>
</Trigger>

</Triggers>

<Actions>
<Action id="1">
<Name>After Startup health </Name>
<On id="30">group</On>
<Type></Type>
</Action>

<Action id="3">
<Name>Login Button Action</Name>
<On id="300">parameter</On>
<Type>run actions</Type>
</Action>
</Actions>

<Timers>
<Timer id="1">
<Name>Polling timer (60s)</Name>
<Time initial="true">60000</Time>
<Interval>75</Interval>
<Content>
<Group>10</Group>
</Content>
</Timer>
<Timer id="2">
<Name>Polling timer (10s)</Name>
<Time initial="true">1000</Time>
<Interval>75</Interval>
<Content>
<Group>20</Group>
</Content>
</Timer>
<Timer id="3">
<Name>Polling timer QActions (30s)</Name>
<Time initial="true">30000</Time>
<Interval>75</Interval>
<Content>
<Group>30</Group>
</Content>
</Timer>

</Timers>

</Protocol>
```

Jose Araujo [DevOps Advocate] Selected answer as best 16th May 2025

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Miguel Obregon [SLC] [DevOps Catalyst]19.20K Posted 16th May 2025 0 Comments

Hi,

You can find in DataMiner Docs the required steps to achieve what you are looking for:

Executing a QAction after startup

Hope it helps.

Jose Araujo [DevOps Advocate] Selected answer as best 16th May 2025
5
Sara Gluhović [SLC] [DevOps Advocate]177 Posted 16th May 2025 0 Comments

Hello Jose,

In this case Group 30 will execute action 1 again, because of
<Content>
<Action>1</Action>
</Content>
You cannot trigger execution of QAction directly from a group. Example of triggering QAction after startup is this:
Trigger ->Action -> Group -> Action -> Parameter -> QAction
This workflow looks like this in code :
<Params>
<Param id="2">
<Name>AfterStartup</Name>
<Description>After Startup</Description>
<Type>dummy</Type>
</Param>
</Params>

<QActions>
<QAction id="1" name="Precompiled Code" encoding="csharp" options="precompile" />
<QAction id="2" name="After Startup" encoding="csharp" triggers="2" />
</QActions>

<Groups>
<Group id="2">
<Name>After Startup</Name>
<Description>After Startup</Description>
<Type>poll action</Type>
<Content>
<Action>2</Action>
</Content>
</Group>
</Groups>

<Triggers>
<Trigger id="1">
<Name>After Startup</Name>
<On>protocol</On>
<Time>after startup</Time>
<Type>action</Type>
<Content>
<Id>1</Id>
</Content>
</Trigger>
</Triggers>

<Actions>
<Action id="1">
<Name>After Startup Group</Name>
<On id="2">group</On>
<Type>execute next</Type>
</Action>
<Action id="2">
<Name>After Startup QAction</Name>
<On id="2">parameter</On>
<Type>run actions</Type>
</Action>
</Actions>

Sara Gluhović [SLC] [DevOps Advocate] Answered question 16th May 2025
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