Skip to content

Node subscription (MonitoredItem) and temporarily removed node (recreated with same identifier) - possibility to relink subscription #2943

@kk-siemens

Description

@kk-siemens

Type of issue

  • Bug
  • Enhancement
  • Compliance
  • Question
  • Help wanted

Current Behavior

I create subscription (MonitoredItem) to some node. Then I need to temporarily remove the monitored node from OPC UA tree. I add the node back to OPC UA tree by creating new node with same identifier. How can I relink the old subscritption from previous old removed node to the new node (that has the same identifier but is different instance)? Is that possible or should I cache and reuse the old node? Or how to correctly deal with situation with subscription on node that can be temporarily removed?

Expected Behavior

Already existing subscription would work on new node with same identifier. Subscription is somehow relinked to the new node.

Steps To Reproduce

  1. Create subscription (MonitoredItem) to node
  2. Remove the node from OPC UA tree
  3. Create new node with same identifier and add it to OPC UA tree
  4. How to relink the subscritpion from the old node to the new node?

Environment

- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions