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

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

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

Tomellache2B
13-Aquamarine

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.

This worked. 

Thank you @CharlesJi