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
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Any alternative way to updated elements inside the service?

73 views3 days agoautomation scripts update service updateservice
-1
Baranisudha Murugesan [DevOps Member]1.01K 3 days ago 0 Comments

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

above is the code used for updating the service if there is any change is there inside the elements. this is running in scheduler, so everytime this code runs the cube log shows the service is edited eventhough there is no edit happening.

is there any other way we can update the service?

Jorge Dias [SLC] [DevOps Enabler] Answered question 3 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Jorge Dias [SLC] [DevOps Enabler]5.02K Posted 3 days ago 4 Comments

Hi Baranisudha,

You can get the current service using _engine.FindService, then you can compare if the service.ServiceInfo has differences, if not don't send the message.

Jorge Dias [SLC] [DevOps Enabler] Posted new comment 16 hours ago
Baranisudha Murugesan [DevOps Member] commented 3 days ago

Yes, that is been worked on. But is there any alternative for AddServiceMessage? because it is a updated activity. Do we any class for update?

Jorge Dias [SLC] [DevOps Enabler] commented 3 days ago

No, that message is intended to add or update services, no problem in using it.

Baranisudha Murugesan [DevOps Member] commented 2 days ago

can we avoid the log in information event in cube? because it is not an actual service edit, if we add or remove the element in service getting "service is edited" message in information events is fine, but im just refreshing a table of the element. In this case i dont want the log in information event.

Jorge Dias [SLC] [DevOps Enabler] commented 16 hours ago

If the message is sent no.
By refreshing a table you mean including a new table to the service?

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