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
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

How to show automation script output text in LCA popup dialog

Solved128 views6 days agoLCA Automation Script Output Dialog
2
Harald Schwarz [DevOps Advocate]365 7 days ago 1 Comment

We need to check LCA edit form data before saving by an automation script that returns message and want to show the message in a popup dialog in LCA.

Harald Schwarz [DevOps Advocate] Selected answer as best 6 days ago
Harald Schwarz [DevOps Advocate] commented 6 days ago

Can we use text of functions engine.ExitFail(string reason) or engine.exitSuccess(string reason)?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Wout Mahieu [SLC] [DevOps Catalyst]10.20K Posted 6 days ago 5 Comments

Hi Harald,

It is possible to add a script output with Engine.AddScriptOutput, which is accessible when executing scripts in LCAs:

  • When the script is executed using a button, the component will expose 'script outputs' data with the added values.
  • From DataMiner 10.5.9 onwards, the output of scripts can also be used in post actions after a 'Launch a script' action. This output can then be used to update a variable, execute other scripts, ...
Harald Schwarz [DevOps Advocate] Selected answer as best 6 days ago
Harald Schwarz [DevOps Advocate] commented 6 days ago

Hi Wout,
the script is invoked by a state transition button by a transition action. I do an engine.ExitFail(text) in the script for invalid data.
On pressing the transition button in the edit panel now a red message very shortly (< 1 second) is exposed. How to a achieve stable display of the message?

Wout Mahieu [SLC] [DevOps Catalyst] commented 6 days ago

If I understand correctly, the script is triggered by a state transition of a DOM instance in a form component. I checked our backlog and it is a known issue that the transition error is only shown for a very short time. There is currently no workaround for this, we will let you know here once this is fixed.

Harald Schwarz [DevOps Advocate] commented 6 days ago

Hi Wout,
our system has to go into production in November.
Do you have a date for the fix?

Harald Schwarz [DevOps Advocate] commented 6 days ago

A suggestion is to show script output in a popup dialog overlaying the edit panel. May be this as an optional functionality/property.

Wout Mahieu [SLC] [DevOps Catalyst] commented 6 days ago

Hi Harald, there is no date or priority defined for this task. I suggest you get in touch with your contact at Skyline so they can discuss this with the correct teams.

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
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