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

low code app with automation script

Solved66 views7 hours agoAutomation script solution lowcode app
0
Ömer Eryaman [DevOps Advocate]536 9 hours ago 0 Comments

Hello everyone,
I’m trying to display some data (JSON output) from my automation script in a low-code app as a table.
Unfortunately, when I store the output in a variable and pass it to the table (drag and drop), nothing shows up.

I’m not sure what’s wrong — does anyone have an idea?

Code:
private void RunSafe(IEngine engine)
{

var results = new List<Dictionary<string, string>>()
{
new Dictionary<string, string> { {"Name", "Device A"}, {"Status", "OK"} },
new Dictionary<string, string> { {"Name", "Device B"}, {"Status", "Error"} }
};

// Serialize to JSON
string json = Newtonsoft.Json.JsonConvert.SerializeObject(results);

engine.AddScriptOutput("ResultData", json);
engine.ExitSuccess("ok");
}

The "Server 1" example i added it in variable low code settings.

thanks

Ömer Eryaman [DevOps Advocate] Selected answer as best 7 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Robin Debel [SLC] [DevOps Enabler]2.01K Posted 9 hours ago 5 Comments

Hi Ömer,

For now, only string values can be used as a feed value in the postActions of the Execute a Script action. In the future, we do plan to add support for fetching a query and storing it in a variable.

You can now do the following with string values:

This will then use the script output and put that as the text variable, you can then use this variable however you like.
Note that this is only available from version 10.5.9 onwards.

Kind regards,
Robin Debel

Ömer Eryaman [DevOps Advocate] Selected answer as best 7 hours ago
Ömer Eryaman [DevOps Advocate] commented 8 hours ago

Okay, thanks

I’ve edited my low-code app. Instead of using a table, I’m now displaying a text field. In the text field settings, I added: {VARIABLE.ResultData.Value} After running the automation script, nothing shows up
not even the JSON.
Is my syntax wrong?

Robin Debel [SLC] [DevOps Enabler] commented 8 hours ago

I've changed my original answer and added a photo. Kind regards

Ömer Eryaman [DevOps Advocate] commented 8 hours ago

Thanks, but in my case I can't link the result data cause it says:
in property = no results
and then it can't be empty

Robin Debel [SLC] [DevOps Enabler] commented 8 hours ago

Property is a box you need to type something in. In ur case that should be "ResultData". I know it looks like a dropdown, but you need to type and then press enter.

We have a task on our backlog to make this better.

Ömer Eryaman [DevOps Advocate] commented 7 hours ago

Confusing
Thanks for the help, it works now
I can display outputs from my automation script

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