Skip to main content
1-Visitor
August 31, 2020
Solved

Regard Service Execution history.

  • August 31, 2020
  • 1 reply
  • 1067 views

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,

    Best answer by abhiramk

    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.

    1 reply

    abhiramk1-VisitorAnswer
    1-Visitor
    August 31, 2020

    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.