Questions Tagged With taskruntimehttps://answers.axonivy.com/tags/taskruntime/?type=rssquestions tagged <span class="tag">taskruntime</span>enMon, 14 Oct 2019 10:51:22 -0400Persistance Ivytaskhttps://answers.axonivy.com/questions/4102/persistance-ivytask<p>Hi Everyone, Could I persist ivyTask after change some basic information of this ivyTask (example: taskName). After change I will persist directly, can I do it?</p>ttlinhMon, 14 Oct 2019 10:51:22 -0400https://answers.axonivy.com/questions/4102/persistance-ivytasktaskruntimeGet Taskruntimehttps://answers.axonivy.com/questions/2118/get-taskruntime<p>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</p> <pre><code>ivy.log.info("Startzeit Task "+in.startTaskTime); </code></pre> <p>It is written in a script step behind the task whilst in.nummer the case nubmer is to get the last entry</p> <pre><code>TaskQuery tazk = TaskQuery.create().where().name().isEqual("Task1Name"); Recordset taskZeit = ivy.wf.getTaskQueryExecutor().getRecordset(tazk.groupBy().endTimestamp()); ivy.log.info("TaskEndeZeit2: "+taskZeit.getColumn("ENDTIMESTAMP").get(in.nummer)); </code></pre>GabrieleWed, 19 Oct 2016 11:21:13 -0400https://answers.axonivy.com/questions/2118/get-taskruntimetaskruntimeruntimetask