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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How to write a service to output the values of json object

Tomellache2B
14-Alexandrite

How to write a service to output the values of json object

Hi 

 

As per the original thread

 

Seems like what I am trying to do is similar.

I want to write a service to output the values that are inside of my json object. I also have a subscription that calls this service.

I have attached screenshots of my code below. Unfortunately I do not get the desired output. Any suggestions on how to fix this?

 

1 ACCEPTED SOLUTION

Accepted Solutions
CharlesJi
14-Alexandrite
(To:Tomellache2B)

Hi @Tomellache2B 

 

Seems like you are enabling "Async" of this service. You may try with normal service by unchecking that option in Service Info tab.

View solution in original post

2 REPLIES 2
CharlesJi
14-Alexandrite
(To:Tomellache2B)

Hi @Tomellache2B 

 

Seems like you are enabling "Async" of this service. You may try with normal service by unchecking that option in Service Info tab.

Tomellache2B
14-Alexandrite
(To:CharlesJi)

This worked. 

Thank you @CharlesJi 

Top Tags