Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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,
Solved! Go to Solution.
Hello,
I made a workaround as of now.
This modified workaround gives me all the Things permissions data.
Thanks,
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)
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,
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.
Hello,
I made a workaround as of now.
This modified workaround gives me all the Things permissions data.
Thanks,
Thank you for sharing your solution with me. You've made a difficult task seem easy