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
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

How can script variables be handled without operator interaction?

919 views13 hours agoAutomation script MemoryFile Scheduler Task session variables
4
Daniel Zank [DevOps Advocate]215 3rd January 2025 1 Comment

Hi all!

I have a question on script variables. In the documentation it is explained that:

"Prior to running a script, operators will first have to link the dummies and parameters to actual elements and values in the DMS. Therefore, it is best to give the variables a meaningful name the operators will be able to work with."

Is there any way that this operator interaction is not necessary? The background is that we would like to execute a script via a task in the scheduler, which has a changing value from a memory file for the parameter.

Best regards and thank you in advance for your inspiring answers!

Daniel

Marieke Goethals [SLC] [DevOps Catalyst] Posted new comment 13 hours ago
Marieke Goethals [SLC] [DevOps Catalyst] commented 13 hours ago

Hi Daniel,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer (using the ✓ icon) to indicate that no further follow-up is needed?

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Miguel Obregon [SLC] [DevOps Catalyst]20.27K Posted 3rd January 2025 3 Comments

Hi Daniel,

If I understood correctly, you have a memory file defined in the Automation module, and you are using this memory file for your script parameter:

If this is the case, when configuring a scheduled task, the user will need to choose one of the possible values from the memory file:

To avoid this, for example you could remove the script parameter and process the memory file directly in a C# script block. The method GetMemory allows you process the content of a memory file.

Hope it helps.

Daniel Zank [DevOps Advocate] Posted new comment 2nd July 2025
Daniel Zank [DevOps Advocate] commented 8th January 2025

Hi Miguel, thanks for your answer and the inspiration! I hope I'm on the right track with my script. But now I have the problem that the variable in the view cannot be updated by the script. Please see my additional answer.

Miguel Obregon [SLC] [DevOps Catalyst] commented 19th June 2025

Hi Daniel,
Sorry for the late reply. Indeed, to use the method GetMemory you will need to pass the memory file as parameter. A possible alternative is using subscripts. There is description of this workaround in the following question:
https://community.dataminer.services/question/store-permanent-values-that-can-be-access-by-multiple-scripts/?hilite=memory+file
Please let me know if it helps.

Daniel Zank [DevOps Advocate] commented 2nd July 2025

Hi Miguel,
thanks for your answer. In the meantime we are using another solution with the "Generic Dynamic Table" as an element. I'll keep that in mind for other problems.

You are viewing 1 out of 3 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