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

Looking for other ideas to trigger multiple actions

Solved261 views17th March 2025Visio
0
Bing Herng Chong [SLC] [DevOps Advocate]1.06K 14th February 2025 0 Comments

Hi all, I'm looking for ideas to trigger multiple sets and checks with waiting periods from Visio via a single button. Some examples includes:

#1
Sets AdminStatus of interface_1 on Element_A to 'Down'
Sets AdminStatus of interface_1 on Element_B to 'Up'

#2
Sets AdminStatus of interface_1 on Element_A to 'Down'
Sets AdminStatus of interface_1 on Element_B to 'Down'
Sets AdminStatus of interface_2 on Element_C to 'Up'
Wait 1 sec
Sets AdminStatus of interface_2 on Element_C to 'Down'
Wait 1 sec
Sets AdminStatus of interface_2 on Element_C to 'Up'

#3
Sets a PID to DISABLE
Wait for 1 second
Confirm that the set was successful by checking the PID value again
Set the PID to ENABLE
Wait for 1 second
Confirm that the set was successful by checking the PID value again

One idea is to write an automation that is capable of taking in a set of instructions in a well-defined format (e.g.: json). An example is provided below.

This way the automation script is generic and can be used to form other multiple sets.

(1) What I'm looking for is pros and cons of doing it using this method (e.g.: keeping track of the json string in the shape data could be difficult)

(2) Also has this already been done and there is something that we can perhaps re-use?

(3) Would a driver be more appropriate than an automation script in such a use case?

{

"Actions": [{

"order": 1,

"action": "SET",

"element_name": "element_A",

"pid": 123,

"idx": "itf_1",

"intended_value": "off"

"retries": 1

}, {

"order": 2,

"action": "WAIT",

"duration": 5,

}, {

"order": 3,

"action": "CHECK",

"element_name": "element_A",

"pid": 456,

"idx": null,

"expected_value": "power_down"

"retries": 1

}

]

}

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 17th March 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
David Rid [DevOps Enabler]588 Posted 17th February 2025 0 Comments

Hi Bing Herng,

Using automation sounds like a good option to me. Even though there are waiting periods and multiple sets and gets, the execution happens only once.

In a driver, you are using timers that trigger actions every cycle and also trigger sets and gets on button clicks.

You can achieve this easily through the automation script in combination with Visio.

To display the JSON in Visio, you could set Visio variables through the script:

SessionVariables

SetVariableFromScript

Alternatively, you could set custom properties on the view/element that are then shown in Visio.

You would probably need to deserialize the data first.

Best regards,

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 17th March 2025
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

Recent questions

Alarm Dashboard PDF/CSV Export 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 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 (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) 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