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
    • Agility
      • Kanban workshop
      • Agile Fundamentals
    • 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
    • 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

Automation – How can I know if a script is executed by an application package

Solved607 views5th March 2024application package Automation
2
Jens Vandewalle [SLC] [DevOps Enabler]9.50K 27th February 2024 0 Comments

Hi Dojo,

I have a script that will get executed by deploying an application package, but it can also run by manual executing it. In the latter case I want to show an interactive window to the user executing it in case some data is missing.

Is there a way that I can know if a script is executed by an application package so that I don’t show an interactive window in that case?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 5th March 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Michiel Oda [SLC] [DevOps Enabler]3.61K Posted 27th February 2024 0 Comments

Hi Jens

With IDP we have such a scenario. We have the SetupWizard script that can either be run silently or with an interactive window.

We achieve this by using 2 scripts:

  • Script A: Entrypoint for the user to run manually. This will call the subscript with an empty json for example so that script B knows to show the UI.
  • Script B: Entrypoint for the application package. The package will fill in a json in the script parameter so it knows the default settings.
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 5th March 2024
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