Skip to main content
Jul 20, 2017 3:16 PM UTC
Solved

Subscription code inheritance

Hi,

I have a template with one subscription and when I create a thing from this template the subscription (and its parameters (enabled, ...)) is inherited but not the code ! So I just have a blank subscription on my newly created thing.

The code is simple, it's just a call to a thing method I created :

me.getNewMessages();

Do you know the code is not inherited ?

Regards

posipovaAnswer
Jul 20, 2017 3:34 PM UTC

This is a Jira MASHUP-3637 which is actually not a bug. This was intentional due to security risks. It's logged as a platform change improvement requests but no ETA or confirmation on implementation.

2 replies

posipovaAnswer
Jul 20, 2017 3:34 PM UTC

This is a Jira MASHUP-3637 which is actually not a bug. This was intentional due to security risks. It's logged as a platform change improvement requests but no ETA or confirmation on implementation.

Jan 8, 2018 6:40 PM UTC

Does this answer mean the subscription is in fact inherited, because I am having the same issue however utilizing a AnyDataChange event and seem as if my subscription from my template is not firing within my Thing.