WorkunitTimeStamps

STD.System.Workunit.WorkunitTimeStamps ( wuid )

wuidA null-terminated string containing the WorkUnit IDentifier.
Return: WorkunitTimeStamps returns a DATASET value.

The WorkunitTimeStamps function returns a DATASET with this format:

EXPORT WsTimeStamp := RECORD
  STRING32 application;
  STRING16 id;
  STRING20 time;
  STRING16 instance;
END;

Each record in the returned dataset specifies a step in the workunit's execution process (creation, compilation, etc.).

Example:

OUTPUT(STD.System.Workunit.WorkunitTimeStamps('W20070308-164946'));
/* produces output like this:
'workunit     ','Created ','2008-02-13T18:28:20Z','              '
'workunit     ','Modified','2008-02-13T18:32:47Z','              '
'EclServer    ','Compiled','2008-02-13T18:28:20Z','10.173.9.2:0  '
'EclAgent     ','Started ','2008-02-13T18:32:35Z','training009003'
'Thor - graph1','Finished','2008-02-13T18:32:47Z','training009004'
'Thor - graph1','Started ','2008-02-13T18:32:13Z','training009004'
'EclAgent     ','Finished','2008-02-13T18:33:09Z','training009003'
*/