InactivationCheck in GetRunTimePermissionsAsJSON or GetRunTimePermissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
InactivationCheck in GetRunTimePermissionsAsJSON or GetRunTimePermissions
Hi,
I am trying to get the Permission of a Thing in JS Code, when you services like GetRunTimePermissionsAsJSON or GetRunTimePermissions I get the InactivationCheck in the output of the Service.
If I Run the Service from the Thing, by opening and executing it, I can see the data properly.
Thanks,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Coding
-
Examples
-
Mashup-Widget
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I made a workaround as of now.
- Created a service in each thing, which sets GetRunTimePermissionsAsJSON or GetRunTimePermissions data to a dummy property.
- Later, I created a Helper Thing, where I made a service that calls/Fetchs all the property data from the Things we set in Step1.
This modified workaround gives me all the Things permissions data.
Thanks,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
And you made sure there is no group (accidentally) called "InactivationCheck"?
Please also always include which TWX version you are running. (It did work for me on a 9.3.10)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Rocko ,
Thanks for quick response, and apologies I missed Thingworx version, as of now Thingworx Version is 9.2.6.
and yes, there is no user group with "InactivationCheck".
Thanks,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I don't have a 9.2 around to test, but I've never seen this before. You could try running this with a different user. If it persists, create a ticket with support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I made a workaround as of now.
- Created a service in each thing, which sets GetRunTimePermissionsAsJSON or GetRunTimePermissions data to a dummy property.
- Later, I created a Helper Thing, where I made a service that calls/Fetchs all the property data from the Things we set in Step1.
This modified workaround gives me all the Things permissions data.
Thanks,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you for sharing your solution with me. You've made a difficult task seem easy
