Skip to main content
16-Pearl
November 13, 2024
Solved

Subscription on UserExtensions

  • November 13, 2024
  • 1 reply
  • 1191 views

thingworx 9.6 ... but on 8.5 too

 

on the UserExtensions entity I added a boolean property, (it is so a property for all users)

Then I added a subscription with datachange on this property, and enabled it

 

it seems that by changing the boolean value on a user, the subscription event is not fired

Is it normal ?

 

Best answer by Constantine

Hello @iguerra, please check the permissions, as that post describes. There's a PNG screenshot attached to the accepted solution -- try doing the same.

 

By default System user (under which those subscriptions fire) doesn't have runtime permissions to subscribe or execute services. Start by adding those permissions system-wide on the Collection label, check if it helps -- if yes, then you can start narrowing them down.

 

/ Constantine

1 reply

16-Pearl
November 13, 2024

Hi @iguerra  Can you look at the post below, and let us know your output?

https://community.ptc.com/t5/ThingWorx-Developers/data-change-event-in-subscription-doesn-t-work/m-p/979541#M68138

iguerra16-PearlAuthor
16-Pearl
November 14, 2024

Hi @Surya_Tiwari , sorry I pressed for error "accepded as solution", could you revert back ?

 

Unfortunately, even if setting "always" on the type of change, the subscription is not fired

 

16-Pearl
November 14, 2024

Hi @iguerra  Ok, can you let us know if you find any error in the application log?