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

Close IAS Popup Window and Run Code in Background

Solved905 views14th November 2023Automation script interactive automation script
2
German Ballesteros [SLC] [DevOps Member]565 10th November 2023 0 Comments

I have a script that popups a confirmation window at the beginning of the script and run the remaining code after approve it. I need to close the popup after the approval and run in the background the remaining actions. I must need to close it because the code has some Retries to check some sets in a table and it takes more that 10 seconds after finish it. Is it possible to do that? Here is the confirmation Dialog with the code configuration:

I tried to clear the dialog but it doesn’t work. Also the Exit option from IEngine is not possible as it will abort the script (and we don’t need that). I also tried with the InteractiveController but didn’t find a method/action to close the popup window.

German Ballesteros [SLC] [DevOps Member] Selected answer as best 14th November 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Tom Waterbley [SLC] [DevOps Catalyst]8.93K Posted 11th November 2023 0 Comments

Hi German,

As far as I’m aware, it’s currently not possible to close the popup window of an interactive automation script. This is by design, the window remains open while the interactive script is running.

A first option that could be tried, is starting a background task before the script is ended. This task will keep running in the background, even when the script has ended. This is not ideal because maybe not all actions on the engine object will still work properly. When no further interaction with DataMiner is needed, this method can be used without problems.

Alternatively, a non-interactive subscript could be started (asynchronously) that performs the actions in the background. This can be done using the following method: https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Automation.Engine.PrepareSubScript.html. This is probably the preferred approach, although it’s a bit more work to implement.

German Ballesteros [SLC] [DevOps Member] Selected answer as best 14th November 2023
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