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

Tigger on Element State parameter change (64502)

Solved281 views18th February 2025reserved parameters
5
Sulejman Karamehic [SLC] [DevOps Enabler]94 18th February 2025 0 Comments

Hello Community,

I have a question regarding reserved general parameters (DataMiner Element Control Protocol) (https://docs.dataminer.services/develop/devguide/Connector/ReservedIDsElementControlProtocol.html).

I have a use case where we should do some action after the element state has been changed, in the documentation I found a reserved parameter 64502 (Name: STATE, Description: Element State).

When I try to trigger for example a QAction on this parameter I get a a major validator remarks stating that I am referencing a non existing parameter.

Interestingly, when tested for example the reserved parameter 65008 (Element Alarm state), the major validator remark is not showing up and the logic works fine.

My question is am I missing something to be able to use the reserved parameter 64502 for the element state value, and is it even possible to trigger an action after element state parameter value has been changed?

Thank you in advance.

Sulejman Karamehic [SLC] [DevOps Enabler] Selected answer as best 18th February 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Flavio Meneses [SLC] [DevOps Enabler]890 Posted 18th February 2025 3 Comments

Hi Sulejman,

I'm not sure if what you are trying to do is the best solution. If I am not mistaken, the STATE parameter changes with the element's state (start, stop, etc.). Therefore, if you are stopping and element you are also stopping the protocol logic that would be necessary to trigger the QAction.

Have you considered using the Monitors subscription (docs)? There are potentially other solutions, but I would require more information about the use case.

Hope this makes sense!

Sulejman Karamehic [SLC] [DevOps Enabler] Posted new comment 20th February 2025
Sulejman Karamehic [SLC] [DevOps Enabler] commented 18th February 2025

Hi Flavio,

thanks for the quick reply and suggestion, let me explain the use case in more details.

I am working on a smart-serial connector which can send messages and receive messages (SMPP Agent). To be able to send/receive the messages the user needs to "bind" a transceiver by pressing a button. After the "bind" has been established the connector can send messages and receive incoming messages.
The issue we are facing is if the element changes the state to "stopped" for example a DMA update, the "bind" stayed active and if there were any messages that came in that timeframe they are not processed and lost. We are trying to implement logic to "unbind" the transceiver (if it is possible on the element sate change). Reason being there isn't a way do execute a "GET ALL" to process all the messages since we are only able to actively listen for incoming ones. From what I found the only way to avoid this is to "unbind" the transceiver since when the bind is setup again all the messages will be pushed to the connector as they are queued after the "unbind".

Hopefully I was able to explain the use case in more details to you, if you need more information please let me know.

Miguel Obregon [SLC] [DevOps Catalyst] commented 19th February 2025

Hi Sulejman,
Based on your use case, I will try to avoid checking the element state.
If I am not mistaken, you are dealing with a corner case when establishing a connection with the device. Is it not possible to check first if there is already a established connection before to 'bind' a transceiver?

Sulejman Karamehic [SLC] [DevOps Enabler] commented 20th February 2025

Hi Miguel,
there is a command that is executed every one minute to check if the connection is already established. For my use case Flavio's suggestion makes the most sense since I will need to "unbind" the transceiver when the element state changes.

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

Alarm Dashboard PDF/CSV Export 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 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 (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) 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