Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I have to automate the services from scheduler to generate 10 reports every week based on the hardcoded 10 inputs in service. Each report generates after fetching data from windchill and it service executes upto 5 minutes to generate one report. In this case the server should be available for 1 hour in backend for the generation of all reports.
What are the configuration steps needed to run services for continuous 1 hour.
Solved! Go to Solution.
Depends on how you interact with the result.
To test if that is a feasible approach at all, you can do a test by running 10 REST requests against ThingWorx, e.g. with Postman.
If it proves to be a valid approach that does not cause resource congestion, you could try multiple subscriptions.
You could also make the services asynchronous and pick up the result later from a repository.
Not sure what you mean by "server should be available", the server is running permanently and therefore available.
If you have long-running services, you need to set the Scripttimeout parameter in configuration, in your case to 3600. It's documented here:
Since 3600 is quite high, you could consider running the services in parallel rather than sequential. But it depends on the use case and the load if this is feasible.
How can we trigger the services parallelly from backend?
Depends on how you interact with the result.
To test if that is a feasible approach at all, you can do a test by running 10 REST requests against ThingWorx, e.g. with Postman.
If it proves to be a valid approach that does not cause resource congestion, you could try multiple subscriptions.
You could also make the services asynchronous and pick up the result later from a repository.
Thanks. Is there any document or videos about the steps to call thingworx services
from postman.
Check https://www.ptc.com/en/support/article/CS322791 and the community.
You can get the URLs from the documentation: https://support.ptc.com/help/thingworx/platform/r9.6/en/#page/ThingWorx/Help/REST_API/UpdatingDeletingandExecutingThroughtheAPI.html#wwID0EWNFNB
Hi @AP_10343008 ,
Finding the answer to this question is typically easy, and I always suggest using first our knowledge base searching engine, available at https://support.ptc.com
Searching for "how to call thingworx rest from postman" results in the first result being this article.