Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi all,
I need to know the execution history along with input parameters of a service in thingworx. Can you please help me.
Thanks and Regards,
Solved! Go to Solution.
There's an Audit subsystem in Thingworx, which can capture entity operations, user operations and system operations. Also using utilization subsystem you can capture service execution times but not inputs.
I'm not sure if there is any extensions to handle this or not but as a workaround, you can handle this at service level.
Inside your service, write/log inputs and logged-in UserName and date to some stream or datatable and query it from there based on your usage. If you're keeping this at end of the service, you can also capture, execution time of the service and service execution status also.
I hope this works for you.
There's an Audit subsystem in Thingworx, which can capture entity operations, user operations and system operations. Also using utilization subsystem you can capture service execution times but not inputs.
I'm not sure if there is any extensions to handle this or not but as a workaround, you can handle this at service level.
Inside your service, write/log inputs and logged-in UserName and date to some stream or datatable and query it from there based on your usage. If you're keeping this at end of the service, you can also capture, execution time of the service and service execution status also.
I hope this works for you.