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

Parameter sets from an automation script blocking

Solved513 views17th December 2024Automation script Connector
2
Timothy Van Poucke [SLC] [DevOps Enabler]1.18K 17th December 2024 0 Comments

Hi Dojo,

Recently I noticed unexpected behavior: when performing sets from an automation script to a parameter that triggers an QAction with a Thread.SLeep in it, I observe that the automation script is delayed for the amount of sleep defined in the QAction even with the flag "NoCheckingSets".

So the following automation script takes 20s to execute. (Please find the automation script and the connector here)

FYI: I also tried removing the read parameter and putting it the logic on the write parameter (and trigger the QAction on the write) but the behavior remains the same.

Is this behavior expected? I was in the understanding that when the flag "NoCheckingSets" is on, the automation script would not be blocked just do the sets and the element would catch up... (DataMiner 10.4.11.0-15028)


This is the connector:

Timothy Van Poucke [SLC] [DevOps Enabler] Selected answer as best 17th December 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Simon Vandamme [SLC] [DevOps Advocate]952 Posted 17th December 2024 0 Comments

Hi Timothy,

What I can say for sure:

  • The NoCheckingSets flag is not about making the call sync or async. It\'s \"only\" about: do we want to verify if the read parameter was properly updated to the value you sent in your set method call.
  • no matter if you use a sync or async call, on the destination element side, the set will be added to the SetParameterThread and the QAction you trigger on it will indeed happen sequentially, one at the time, so that each QAction run can retrieve the appropriate value you sent from your automation script. Otherwise, you would likely end up processing multiple times value \"D\" instead of processing value \"A\" then \"B\", then \"C\" and eventually \"D\".

I wasn\'t sure if normal sets from script would be sync or async but based on Jorge\'s answer, they seem to be sync.

Also note that if you use https://www.nuget.org/packages/Skyline.DataMiner.Core.DataMinerSystem.Common nuget package, there you\'ll have access to 2 different SetValue method overload, one where you can configure a timeout time and expected changes and one where you don\'t. Those 2 calls will be async.

Timothy Van Poucke [SLC] [DevOps Enabler] Selected answer as best 17th December 2024
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