Hello, I need to know the runtime of a task in a running process. I found a method to get a taskruntime in a process but it is not that easy I expected. Now my question, is there a less complicated way to get the runtime of a task? My way: It is written in the call tab of a user dialog in between 2 task symbols
It is written in a script step behind the task whilst in.nummer the case nubmer is to get the last entry
asked 19.10.2016 at 11:21 Gabriele Reguel Werme... ♦♦ |
answered 20.10.2016 at 11:25 Reguel Werme... ♦♦ Thank's for your help, but the method "getFirstResult(query)" returns an object and I can't cast it to a type ITask.
(20.10.2016 at 14:51)
Gabriele
Then I guess that you are using the code in ivyScript. I've adjusted the sample with a proper ivyScript casting:
(20.10.2016 at 14:58)
Reguel Werme... ♦♦
Thank's a lot, now it works, I only had to cast the return value from getEndTimestamp().getTime() and getStartTimestamp().getTime to a number.
(21.10.2016 at 10:28)
Gabriele
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 19.10.2016 at 11:21
Seen: 2,014 times
Last updated: 21.10.2016 at 10:28