Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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
Solved! Go to Solution.
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.
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.