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

Service is shown as edited in cube information log, but it actually does a refresh

133 views20th August 2025automation scripts DataMiner Cube information message updateservice
1
Baranisudha Murugesan [DevOps Member]1.09K 15th July 2025 0 Comments

Here is the usecase:

I have a application that creates services which are basically events and elements with parameter to monitor.

I store the service and event details in DOM.

Every time when there is a update on element from live device, i want to update the element present in service also. For this I have a scheduler, which takes the service data from DOM and refresh/updates for every two minutes.

var addServiceMessage = new AddServiceMessage
{
DataMinerID = service.ServiceInfo.DataMinerID,
HostingDataMinerID = service.ServiceInfo.HostingAgentID,
Service = service.ServiceInfo,
};
_engine.SendSLNetSingleResponseMessage(addServiceMessage);

above is the current code i use for the process.

since this is AddServiceMessage, everytime the scheduler runs, i see service edited information log in data cube.

Sometimes there wont be anything to edit(there is no change in backend), it will only be refresh.

In this case also i see service edited information log in data cube.

Is there any way to not edit the service everytime?

also is there any alternative for AddServiceMessage? It doesnt look appropriate for the operation i want to do.

Tiago Rosa [SLC] [DevOps Advocate] Answered question 20th August 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Tiago Rosa [SLC] [DevOps Advocate]288 Posted 20th August 2025 0 Comments

Hi Baranisudha,

The AddServiceMessage can be used not only to add services, but also to update them.
When using it to update a service, you will always get Edited information events, even if no actual changes were made to the service. This happens because (at least) the 'Modified' property in the corresponding Service.xml configuration file is updated with the timestamp of the most recent refresh.

I see you've created a separate question regarding alternatives to the AddServiceMessage for your use case, so it's best to continue addressing that part of your inquiry there: Any alternative way to updated elements inside the service? - DataMiner Dojo.

Tiago Rosa [SLC] [DevOps Advocate] Edited answer 20th August 2025
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