Page 1 of 1

Task "Last Executed" property

Posted: Fri Aug 03, 2018 11:08 am
by Steve Horn
When is that value updated?
At the completion of the task?
At the beginning of the task?
And if the task has as its first statement an "IF" test and that test fails, is the Last Executed property even "touched"? And if not, should it be?

Re: Task "Last Executed" property

Posted: Fri Aug 03, 2018 5:48 pm
by ScottBot
Steve,

The last executed time is set as soon as the task is requested to run. Even before the thread that it runs in is started. So if anything fails, it's still marked as executed.

I suppose it could be set at the completion of the task, but it was really just an indicator to see that there was some activity.

Re: Task "Last Executed" property

Posted: Fri Aug 03, 2018 6:27 pm
by Steve Horn
Thats what I originally assumed: its time-stamped upon being run or called. Odd though, as I have one that is being called by another, that according to its time stamp never gets called. And yet I see no reason in the calling task why it would not execute the called task. Hmmm. Will look at it further. Thanks.