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
    • 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
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
  • Downloads
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • >> Go to dataminer.services

Issues visualizing ValidationText and ValidationState in Interactive Automation Script

Solved260 views2 days agoautomation scipt IAS
1
sofia nadramia [SLC] [DevOps Advocate]277 31st January 2025 0 Comments

Hi everyone,
I’m working on an Interactive Automation Script (IAS) to provision elements, and I’m running into an issue with the ValidationText and ValidationState properties. I expect the text box to indicate an error (e.g., highlight in red, display error text under textbox) when certain validation conditions fail, but that’s not happening.

Here’s the snippet:

if (NewViewCheckBox.IsChecked)
{
if (string.IsNullOrEmpty(ViewTextBox.Text))
{
engine.Log(“validation failed: View input string is null or empty”);
ViewTextBox.ValidationText = “Please Enter a View Name.”;
ViewTextBox.ValidationState = UIValidationState.Invalid;
isValid = false;
}

However, even though the validation logic executes (as seen in the logs), the dialog does not reflect the error visually:

  • The ValidationText does not appear.
  • The text box does not turn red or indicate an error.

I’ve attached screenshots of my UI, logs, and code for context. Any help in understanding why the validation feedback isn’t showing would be greatly appreciated!

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 2 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Ive Herreman [SLC] [DevOps Enabler]13.80K Posted 31st January 2025 1 Comment

Hi Sofia,

This only works on the web version of the interactive automation scripts.
As a test, can you create a low-code app and trigger the interactive script there?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 2 days ago
Peter Vanpoucke [SLC] [DevOps Advocate] commented 3rd February 2025

These options are indeed only released for the web version. There's an item on the Automation and Orchestration backlog to update the documentation of these properties.

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