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
    • 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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Problem Using Redundancy Group Virtual Elements in Automation

Solved494 views18th April 2025#automationscripts redundancy groups
7
Jim Woodier [DevOps Member]765 21st October 2024 3 Comments

We have a use case for setting parameters on a virtual element created by a redundancy group via automation. This fails with an error (shown below). I created a test script to simplify testing.

When using the test script if I provide the name of the virtual element as param1, i get the error. If I use the main or redundant element name the script runs fine. Is there something more to using a redundancy group in automation?

Test script:
string mcsName = engine.GetScriptParam("param1").Value;
Element mcs = engine.FindElement(mcsName);
string loginStatus = mcs.GetParameter(104).ToString();

Error Returned:

Skyline.DataMiner.Net.Exceptions.DataMinerException: Create Dummy Failed: 0x80004005
at CManagedAutomation.RunWrapped(CManagedAutomation* , Int32 iCookie, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* pvarReturn, String scriptName)
at CManagedAutomation.Run(CManagedAutomation* , Int32 iCookie, Char* bstrScriptName, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* varEntryPoint, tagVARIANT* pvarReturn, tagVARIANT* pvarEntryPointResult) (CSharp; 0x80131500h):

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th April 2025
Tiago Rosa [SLC] [DevOps Advocate] commented 26th October 2024

Hi Jim, I tried reproducing the issue by using your test script and the name of the redundancy group’s virtual element as a script param, however the get/set parameters are working fine on my end (currently running DataMiner 10.4.9).
I found a task in our records where doing a GetParameter on the virtual element of a redundancy group would throw a Create Dummy Failed exception, but this has been fixed since DataMiner 10.0, so it’s unlikely to be the same problem. Could you confirm the DataMiner version of the system you’re running this script in?
Additionally, could you check the SLAutomation logging after running the script, to see if additional error messages are shown there? You can do this in Cube by going to Apps > System Center > Logging > DataMiner, then search for Automation under the DMA you’re connected to.
If more information is present in the log file, could you please paste it here? Thanks.

Tiago Rosa [SLC] [DevOps Advocate] commented 26th October 2024

In addition to the comment above, please double check if you’re trying to do a Set Parameter on the incorrect parameter ID.
As a general rule, you should perform sets on the “write” parameter ID and not the “read” parameter ID (https://docs.dataminer.services/user-guide/Basic_Functionality/Parameters/Types_of_parameters/Read_parameters_versus_write_parameters.html).

Marieke Goethals [SLC] [DevOps Catalyst] commented 20th December 2024

Hi Jim,
I noticed that this question has been open for some time now. Do you still need help with this, or have you found the solution in the meantime? If you still need help, could you answer Tiago’s question above? Or if you have found the solution, could you post an answer for reference for other users?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Marieke Goethals [SLC] [DevOps Catalyst]5.50K Posted 18th April 2025 0 Comments

As this question has now been inactive for a very long time, and there has been no further reaction from you, I will close it. If you still want more information about this, could you post a new question?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th April 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
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