How do I convert “audittimestamp” to regular date/time hh:mm:ss:msec from table “wmservice”?
Data type of “audittimestamp” is: Number[19] in wmservice. Do any body has query to find out how much time(max, min,avg, number of times it got called) my flow service took? Should I use “wmservice” for this kind of calculations or is there any other table in wM which give this kind of statistics?
Please don’t indicate that I have to use BPM or BAM for this. We don’t have Bpm/Bam in place currently.
Sudhesh,
Assuming (the start and end of) your service is logged in the wmservice table, the execution time will be available in one of the fields in the table.
I am using:
SELECT maxSIZE=2, [/size]minSIZE=2, [/size]avgSIZE=2, [/size]countSIZE=2
[/size]FROM wmservice where servicename = ‘YourServiceName’ and duration != 0 ( or RESUBMITTABLE = 0).
I am trying to eliminate the duplicate service name by doing duration!=0 or resubmittable = 0. But I don’t have clear idea of what it means by duration, resubmittable or status. [SIZE=2][B][SIZE=2][COLOR=#008000][/size][/b][/SIZE][/COLOR]
2. Also how do I convert “audittimestamp” to regular date/time hh:mm:ss:msec from table “wmservice”?
What I am trying to do is that, for the Max(duration) get the corresponding “audittimestamp” and try to see what happend, in wM serverlogs?
I am trying to see why the transaction took that long during that max(duration).
Where can get the documentation of the fields relating to "wmservice"table?