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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

input parameters in service

AP_9587236
17-Peridot

input parameters in service

As I cant do two bindings to single input in service, Ill create 2 input parameters. But out of two inputs, which is the latest input that should be processed inside code and give result. How to do that??

ACCEPTED SOLUTION

Accepted Solutions
cmorfin
19-Tanzanite
(To:AP_9587236)

Hi @AP_9587236 

 

Not sure but I was thinking that you may be able to achieve what you want by using event router function.

The output would be bound to the input parameter of your service and the inputs will be your 2 inputs. The function output will be the latest input received.

 

See https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Functions/EventsRouter.html

and https://community.ptc.com/t5/IoT-Tech-Tips/How-to-use-Event-Routers/m-p/650376 

 

Hope this helps

Regards

Christophe

 

View solution in original post

1 REPLY 1
cmorfin
19-Tanzanite
(To:AP_9587236)

Hi @AP_9587236 

 

Not sure but I was thinking that you may be able to achieve what you want by using event router function.

The output would be bound to the input parameter of your service and the inputs will be your 2 inputs. The function output will be the latest input received.

 

See https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Functions/EventsRouter.html

and https://community.ptc.com/t5/IoT-Tech-Tips/How-to-use-Event-Routers/m-p/650376 

 

Hope this helps

Regards

Christophe

 

Announcements


Top Tags