Get name of a service that called method from Script Functions
I'm working on ThingWorx Extension and need know name of service that called method from Script Function Library. For example. I have service with name getServiceName() where I call method from Script Function Library that gets name of service and made it uppercase. Output should be GETSERVICENAME. It is possible with Thingworx SDK?
Of course I can, I'm sorry for confusing question. I have service in Thingworx (writeAndBackupData) and I need to call method in Java that will log anything I need. What do I need to know if is possible call that Java method from Thingworx and inside this Java method get service name (writeAndBackupData).