cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I in a thing service script get the name of the object that fired of the service event ?

Highlighted
Newbie

How can I in a thing service script get the name of the object that fired of the service event ?

How can I in a thing service script get the name of the object that fired of the service event ?

Tags (2)
4 REPLIES 4
Highlighted

Re: How can I in a thing service script get the name of the object that fired of the service event ?

If you mean the outer service that fired a service you are out of luck, event you can't ask current executing service.

Highlighted

Re: How can I in a thing service script get the name of the object that fired of the service event ?

I have question on GetImplementThingsWithData Service. Actually I would like to know how to fetch all data from GetImplementThingsWithData  into my own service and apply filters on those date so that I can create a infotable of filtered data. Please give me solution for the same

Highlighted

Re: How can I in a thing service script get the name of the object that fired of the service event ?

Not sure I fully understand the question. You want to use getImplementedThingsWithData in your own service, then modify/filter the result of it, and output an infotable? To do it through a service, you may use  the GetImplementedThingsWithData service which results into an infotable:

You may further add the filters needed with the snippets or your own code to produce a new/filtered infotable.

You may also use a mashup, bind all data from the GetImplementedThingsWithData service to a, say, Grid, and then bind it to a data filter widget.

Highlighted

Re: How can I in a thing service script get the name of the object that fired of the service event ?

Events readily expose that in the Inputs/Outputs table

If it is import for you to know Outer invoking services, then pass that in as Service Input Parameters

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!