The PTC Community email address has changed to email@example.com. Learn more.
Good day, I'm using the old and deprecated ThingWorx version 8.3.
I've written a service part of which is a call to another service which does the rest api call.
Is there a way to get a response from the rest api call first and only then proceed with the subsequent portion of the code?
Sometimes, the service completes and the rest api had not returned its contents.
Probably best to split this up into two parts, after the api call returns the information, you can set a property which triggers a datachange subscription to then finish the second part of the service.
This may not fit your use case requirements.