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 TimeStampRecord := 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('W20240801-122755'));

/* produces output like this:
'workunit     ','Created ','2024-08-01T16:28:20Z','              '
'workunit     ','Modified','2024-08-01T16:32:47Z','              '
'EclServer    ','Compiled','2024-08-01T16:28:20Z','172.31.4.17'
'EclAgent     ','Started ','2024-08-01T16:32:35Z','172.31.4.17'
'Thor - graph1','Finished','2024-08-01T16:32:47Z','172.31.4.17'
'Thor - graph1','Started ','2024-08-01T16:32:13Z','172.31.4.17'
'EclAgent     ','Finished','2024-08-01T16:33:09Z','172.31.4.17'
*/