cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

how to use dynamic subscription?

SOLVED
Highlighted
Newbie

how to use dynamic subscription?

The generic service of addDynamicsubscription() is asking for service name in input?

I have know idea what to enter for it can you specify?

I am planning to create a subscription (in a Thing service) that will run the code  for the given input schedule.

Can this be achieved by using addDynamicsubscription() method?

What is the actual function of addDynamicsubscription()

Thanks for any replies

Jugal

1 ACCEPTED SOLUTION

Accepted Solutions

Re: how to use dynamic subscription?

adddynamic subscription is a way to add a subscription on the fly and do a set service invoke.

however they do not persist, so you'd have to recreate upon restart of the platform.

better to just go into the model and add a persistent subscription.

1 REPLY 1

Re: how to use dynamic subscription?

adddynamic subscription is a way to add a subscription on the fly and do a set service invoke.

however they do not persist, so you'd have to recreate upon restart of the platform.

better to just go into the model and add a persistent subscription.