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

How does the after startup trigger work in protocols?

Solved1.55K views1st October 2020protocol
3
Pieter-Jan Vuylsteke [SLC] [DevOps Member]332 1st October 2020 0 Comments

Regarding the triggers that you can use in protocols, there is the “after startup” trigger which mentions:

The trigger will go off when the specified protocol has started.
For example: Restart or Activate after stop. It will not trigger after a Pause.

What is meant with “when the specified protocol has started”? Can I replace “protocol” by “element”? So that it means: each time an element using that protocol is created / activated / restarted, the “after startup” trigger should go off for that element?

Reason of my question is that I uploaded a protocol, created an element and (re)started it, but that trigger doesn’t seem to go off and I would like to understand a bit better how such trigger should work (maybe I’m just doing something wrong)

Thanks in advance!

Pieter-Jan Vuylsteke [SLC] [DevOps Member] Selected answer as best 1st October 2020

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Joey Vanhalst [SLC] [DevOps Advocate]1.80K Posted 1st October 2020 1 Comment

The documentation is indeed confusing, but your guess is correct. The after startup trigger in the protocol used by that element will execute its content whenever the element is (re)started.

How do you know that the trigger is not working? What content do you try to execute from your trigger. To give you an idea, the after startup trigger should look something like this:

In this case the trigger executes an action with id “1”. The comment you see next to that is added by DataMiner Integration Studio (DIS) dynamically and displays the name of the action.

Pieter-Jan Vuylsteke [SLC] [DevOps Member] Selected answer as best 1st October 2020
Pieter-Jan Vuylsteke [SLC] [DevOps Member] commented 1st October 2020

Hi Joey, thanks for the clarification!

My QAction is following the flow: Trigger -> Action -> Group -> Action -> Parameter -> QAction
Finally, in that QAction, a script is triggered using the ExecuteScript method of the SLProtocol class.

I investigated further and noticed it’s an issue in my script. Fixing that gives me again the behavior that I want. (I guess I was confused, because I added a “protocol.Log” line in my QAction, but didn’t find it in the logfile, even though I set the loglevels to the highest value)

1
Michiel Vanthuyne [SLC] [DevOps Enabler]4.16K Posted 1st October 2020 2 Comments

Note that if you want to trigger a QAction from an after startup trigger, you must follow the order explained here, or it may not run correctly.

After startup trigger -> Action -> group -> Action ->QAction

Tobias Pfotzer [DevOps Advocate] Posted new comment 1st February 2023
Sam Stump [DevOps Advocate] commented 9th January 2023

Michiel’ link goes to the old DDL that is going EOL where the screenshots are all broken.

https://help.dataminer.services/development/#t=DataMinerDevelopmentLibrary_Customerpart1PDGPDGfundamentalsExamples.htm&rhsearch=afterstartup&rhsyns=

I can’t find this same note “Executing a QAction after startup” in DoJo anywhere else.

Tobias Pfotzer [DevOps Advocate] commented 1st February 2023

@Sam: I found another example using the “after startup” trigger here: https://community.dataminer.services/documentation/data-ingest-control-plane-internal-flow-element-startup/?hilite=after+startup

Unfortunately, it seems that the article is from 2021. As you said, I have found no other example either. Additionally, I have run into the situation that the QAction that is triggered by the second action is executed continuously and in fast succession (it only sets two parameter values).

@Michiel: Do you have a recent example of where you use the “after startup” trigger? I have found no explicit references in the documentation or the “SLC SDF” protocol examples.

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