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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Service property is not being update from automation script

Solved218 views26th March 2025Automation script Custom property service template
3
Bruno Antonio95 24th March 2025 0 Comments

Hello,

I have an automation that is setting a new value for the service property, however this is not being update over the service custom property window.

Code to perform property value:

service.SetGeneratedWithOptions("Service Name", "new property value");

service.SaveService(engine, false);

connectOutputService.GetGeneratedWithOptions("Service Name") -> This call returns the value "new property value".

However this is not being reflected as in below image.

What am I missing here?

Bruno Antonio Selected answer as best 26th March 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Bruno Antonio95 Posted 26th March 2025 2 Comments

The problem is already sorted out. It was related to a duplication service where the IAS was selecting the wrong service in cause and not updating the mentioned service as expected.

Bruno Antonio Posted new comment 27th March 2025
Joao Candeias [SLC] [DevOps Advocate] commented 27th March 2025

Hi Bruno,

Thank you for reaching out. With the code that you display it seemed to be the right approach to achieve the result you wanted; glad you found the root cause after our informal chat earlier this week.
Noteworthy on this discussion possibly the following pointers can help you further in the event of a similar issue:

Verify Property Update: Ensure that the property update is being correctly applied. You can add logging or debugging statements to confirm that service.SetGeneratedWithOptions and service.SaveService are being executed without errors.

Refresh UI: Sometimes, the UI might not reflect the changes immediately. Try refreshing the custom property window or restarting the DataMiner client to see if the changes appear.

Check Permissions: Ensure that the user or automation script has the necessary permissions to update the service properties. Lack of permissions might prevent the changes from being saved.
Service Configuration: Double-check the service configuration to ensure that the property you are trying to update is correctly defined and accessible.
Ensure UI Binding is Updating – Some UI elements are bound to specific events. If the UI doesn’t subscribe to property changes, it may not display updates unless manually triggered.
These step pointers might help you to seek an investigation thread.

To complement further investigation, you might want to reach out to Skyline DataMiner support for further assistance where it will be requested further supporting evidence to consolidate full investigation on the issue.
They can provide more detailed guidance based on your specific setup and configuration.

Bruno Antonio commented 27th March 2025

Hello João, thank you for your response, but as I mentioned, all is already sorted out and no need to further investigation over this once the route cause was found.

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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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