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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Subscription

AC_10416105
3-Newcomer

Subscription

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

AC_10416105_0-1726652835805.png

Service 2 which i am triggering 

AC_10416105_1-1726652895099.png

 

 

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

1 REPLY 1

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.

Announcements


Top Tags