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

Stopping Multi-Threaded Timer Halts The System When Restarting the Enhanced Service

Solved899 views11th July 2023enhanced services Multi-Threaded Timer Tables
2
Saddam Zourob [DevOps Member]363 7th March 2022 0 Comments

We have a Multi-Threaded timer within an Enhanced Service/Workflow. The timer is triggered to start/stop based on a click of 2 buttons in a single Write Param.

The Timer starts without any issues when clicking the Start button and runs the code in the configured QA. However, restarting the enhanced service while the timer is running is halting the system and the logs would show that the system is trying to stop the timer. Also, trying to stop the timer using the stop button is failing to interrupt the timer.

Could you check the below snippets and see if there is anything I may be missing, please?

The Timer and Group:

<Timer id="1003" options="ip:3600,0;ignoreIf:3,0;each:60000;pollingRate:30,10,10;threadPool:5">
<Name>Workflow Timer(1m) - Multi-thread Timer</Name>
<Time>2000</Time>
<Interval>0</Interval>
<Content>
<Group>1003</Group>
</Content>
</Timer>

<Group id="1003">
<Name>On Workflow Timer Group</Name>
<Description>On Workflow Timer Group</Description>
<Type>poll</Type>
<Content></Content>
</Group>

Triggers

<Trigger id ="1803">
<Name> Validation Engine - Start Validation</Name>
<On id="1803">parameter</On>
<Time>change</Time>
<Type>action</Type>
<Condition><![CDATA[id:1803 == 1]]></Condition>
<Content>
<Id>1803</Id>
</Content>
</Trigger>

<Trigger id ="1804">
<Name> Validation Engine - Stop Validation Trigger</Name>
<On id="1803">parameter</On>
<Time>change</Time>
<Type>action</Type>
<Condition><![CDATA[id:1803 == 0]]></Condition>
<Content>
<Id>18030</Id>
</Conteent>
</Trigger>

Actions:

<Action id="1803">
<Name>Validation Engine - Start Validation</Name>
<On id="1003">timer</On>
<Type>start</Type>
</Action>

<Action id="18030">
<Name>Validation Engine - Stop Validation</Name>
<On id="1003">timer</On>
<Type>stop</Type>
</Action>

The QAction where the needed code is:

<QAction id="1004" name="Workflow" encoding="csharp" options="group" triggers="1003" row="true">
<Condition><![CDATA[id:1302 == 1]]></Condition>
</QAction>

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Hugo Lopes [SLC] [DevOps Advocate]540 Posted 30th March 2022 0 Comments

Hi Saddam, we will create a task to investigate this internally. Thank you for your availability in providing the connectors.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
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