Skip to main content
Aug 31, 2020 9:45 AM UTC
Solved

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,

    abhiramkAnswer
    Aug 31, 2020 3:11 PM UTC

    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

    abhiramkAnswer
    Aug 31, 2020 3:11 PM UTC

    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.