Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I am using Thingworx 9.3
I have created a dynamic subscription using a service in the thing.
First issue is it is not triggering the service that i mentioned in the dynamic subscription code
Secound issue is how i can check if the dynamic subscription is created or not and can I enable and disable it.
This is my service First
Service 2 which i am triggering
Solved! Go to Solution.
Dynamic subscription can be created and deleted, but not enabled and disabled.
According to https://www.ptc.com/en/support/article/CS388158 you can use IsDynamicSubscriptionCreated to see if a specific subscription was created.
The article also comes with an example.
Note that dynamic subscription are not persistent, i.e. when you save the thing with the DS, the DS is gone. Also at platform restart.
Dynamic subscription can be created and deleted, but not enabled and disabled.
According to https://www.ptc.com/en/support/article/CS388158 you can use IsDynamicSubscriptionCreated to see if a specific subscription was created.
The article also comes with an example.
Note that dynamic subscription are not persistent, i.e. when you save the thing with the DS, the DS is gone. Also at platform restart.