For MQTT Subscriber Node Dynamic Subscription, Is explicit unscribe required?

For MQTT Subscriber Node Dynamic Subscription, Is explicit unscribe required?

For example...

Initial setup...
msg.topic = 'status/bozo/+';
msg.action = 'subscribe';

Then later in flow logic...
msg.topic = 'status/clown/+';
msg.action = 'subscribe';

Is 'status/bozo/+' replaced wth 'status/clown/+' or is 'status/clown/+' added?

The way I reread it, the documentation, I need to do an explicit unsubscribe for 'status/bozo/+'? Before I subscribe to 'status/clown/+'?

It is added.

You have to use the unsubscribe action to remove a subscription.

1 Like

Cool. Such was my expectation.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.