WUIDdaysAgo

STD.System.Workunit.WUIDdaysAgo ( daysago )

daysagoAn unsigned integer containing the number of days to go back.
Return: WUIDdaysAgo returns a VARSTRING value.

The WUIDdaysAgo function returns a valid WorkUnit IDentifier for a workunit that would have run within the last daysago days.

Example:

daysago := STD.System.Workunit.WUIDdaysAgo(3);
OUTPUT(STD.System.Workunit.WorkunitList(daysago));
 //returns a list of workunits run in the last 72 hours