Hello!
I just wanted to get a community check to make sure I'm interperating this right.
I'm in the process of writing a logging task for a HTTP get. The big 4 bit things I need in this log are
Job name
Start time
Finish time
and HTTP GET output.
I think I got all of these down but I'm not sure about "finish" time. Can I assume that "Last Exited" is the time in which the task finishes?
What I have setup for my "write to file" Highlighted area is just added fluff
JOB: {JOB(6990b545-edc0-4fe1-aa45-5d819e78165c|Name)}
START TIME: {DATEFORMAT(M/d/yyyy h:mm:ss tt)}
END TIME: {TASK(149ca88d-aa44-4e59-958b-ddbda3d911c3,LastExited,M/d/yyyy h:mm:ss tt)}
Exit Code: {JOB(PrevTask|ExitCode)}
Result Code: {JOB(PrevTask|Result)}
Error Output: {TASK(PrevTask,StdErr)}
HTTP GET OUTPUT:
{TASK(149ca88d-aa44-4e59-958b-ddbda3d911c3,StdOut)}