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

Automation – Get Enhanced Service Parameters

31 views19 hours agoautomation engine enhanced services
0
Pedro Sánchez [DevOps Advocate]241 2 days ago 0 Comments

Hi Dojo!

I'm trying to get some parameters from services (they are using a Service protocol) and I can't find the way to do it.

I thought that I did in the past using "GetParameterMessage" but it is failing with Message:

The following was returned from the script:
(Code: 0x80070005) Skyline.DataMiner.Net.Exceptions.DataMinerSecurityException: Access not allowed.

My code (4004 is the parameter ID from my service protocol):

List<Service> servicelist = engine.FindServicesInView($"{Owner.Value} Services").ToList();
foreach (Service service in servicelist)
{
GetParameterResponseMessage parameterMessageServiceStatus = engine.SendSLNetSingleResponseMessage(new GetParameterMessage(service.DmaId, service.ServiceId, 4004)) as GetParameterResponseMessage;
var status = parameterMessageServiceStatus.DisplayValue;
}
I'm running main release 10.4 CU10

Some ideas?

Thanks!!

Robin Meurisse [SLC] [DevOps Enabler] Answered question 19 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Robin Meurisse [SLC] [DevOps Enabler]1.28K Posted 19 hours ago 0 Comments

Hi Pedro,

Since you mention that the services are using a service protocol, in the background there is an element coupled to the service.
If you wish to collect the service element parameters, the GetParameterMessage will need to point to the element behind the service instead of providing the service ID itself.

More in detail:
In the code, you are using 'service.DmaId' and 'service.ServiceId' to collect the parameter, this should most likely be replaced with:
- service.RawInfo.ServiceElement.DataMinerID
- service.RawInfo.ServiceElement.ElementID

Would it be possible to give the above change a try?

Kind regards,

Robin Meurisse [SLC] [DevOps Enabler] Answered question 19 hours ago
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