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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Visual Overview – Preventing repeated clicking on shape that executes a script

Solved1.88K views14th February 2021Automation script Execute Visio Visual Overview
2
Bing Herng Chong [SLC] [DevOps Advocate]1.06K 12th February 2021 0 Comments

In a current project I'm working on, we have automation scripts that are scheduled to run at different intervals and these scripts generate reports that will be sent via email. We are providing the ability to manually trigger these scripts on demand. We are planning to use a Visual Overview overlay so that operators do not need to delve into the list of automation scripts to find the right one to run.

I'm having difficulty finding the right Visual Overview options to emulate the same user feedback when running the script from the Automation app. For example when running a script from Automation with defaults: (1) the user is unable to repeatedly click 'Execute Now' until the script finishes. (2) the user is informed of the status of the script execution when script finishes.

In Visual Overview, using "Execute = Script:script_name|||||NoConfirmation, I predict that due to the lack of feedback on the status of the running script, this may cause the user to repeatedly click on the shape thereby queuing multiple script executions. Is there a way to disable the shape from being clicked until the script finishes, and also to communicated the result of the script execution through Visual Overview?

The easy way out is to expose that Automation app's 'Execute now' dialog box to the user. Nothing wrong with that. I'm just thinking whether it would be possible to keep the user within the Visual page without having to interact with the Automation pop-up.

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 14th February 2021

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Miguel Obregon [SLC] [DevOps Catalyst]18.56K Posted 12th February 2021 2 Comments

Hi Bing,

As far as I know, currently it is not possible to 'disable' a button while an automation script is running.

Possible alternatives:

  • Since you are already implementing an overview, maybe we could map an extra indicator in the overview (e.g. a parameter value or an alarm) that will indicate the user that the script has been triggered. Of course this implies that the workflow performed by the automation script includes an action that will set a parameter (or trigger an alarm)
  • If you have the opportunity to modify a driver that works closely with the automation script, you could create extra parameters in the driver that will allow you to use Extended conditional shape manipulation actions. These extra parameters can be mapped to shapes in the overview. This will allow you, for example, to show/hide shapes when an automation script has been triggered
  • The feature indicated by Michiel is also a nice one and will allow you to set session variables, however it will set session variables only when the automation script finishes successfully

If the above alternatives don't fit your requirements, at the moment I don't see other option than using interactive automation scripts. Please also have a look at other options available when running automation scripts from an overview.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] Posted new comment 15th February 2021
Bing Herng Chong [SLC] [DevOps Advocate] commented 14th February 2021

Hi Miguel, appreciate your thoughts on this matter. I’ll look into the alternatives and select what works best with my use case.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 15th February 2021

Note that you can additionally set a session variable when executing a script. This could trigger an overlay shape to become visible while the script is running. At the end of the script, the session variable can be set to its original value again which will hide the overlay shape.

I believe this is the most clean solution as it only requires changes in the script and the Visual Overview.

2
Michiel Vanthuyne [SLC] [DevOps Enabler]4.10K Posted 12th February 2021 0 Comments

From 10.0.13 onwards, you can set a session variable from an automation script. See help - Linking a shape to an Automation script for more details. Using this feature and show/hide options, you could show a button with the actual link when the script is not running, and a placeholder shape, e.g. a greyed out version of this button without actual link while the script is running.

Michiel Vanthuyne [SLC] [DevOps Enabler] Answered question 12th February 2021
1
Michiel Vanthuyne [SLC] [DevOps Enabler]4.10K Posted 12th February 2021 1 Comment

This can easily be done by removing the NoConfirmation option

Bing Herng Chong [SLC] [DevOps Advocate] Posted new comment 12th February 2021
Bing Herng Chong [SLC] [DevOps Advocate] commented 12th February 2021

Hi Michiel, thanks for responding. Yeah I’m aware of that as that was what I started with. What I’m after is whether we can achieve the same behavior purely in Visio without having to interact with the Automation pop-up dialog box.

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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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