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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Regard Service Execution history.

Bhanu_Manoj
10-Marble

Regard Service Execution history.

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,

ACCEPTED SOLUTION

Accepted Solutions
abhiramk
13-Aquamarine
(To:Bhanu_Manoj)

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.

View solution in original post

1 REPLY 1
abhiramk
13-Aquamarine
(To:Bhanu_Manoj)

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.

Announcements


Top Tags