Workunit Services

WorkunitExists

STD.System.Workunit.WorkunitExists( wuid [ , online ] [ , archived ] )

wuidA null-terminated string containing the WorkUnit IDentifier to locate.
onlineOptional. A Boolean true/false value specifying whether the search is performed online. If omitted, the default is TRUE.
archivedOptional. A Boolean true/false value specifying whether the search is performed in the archives. If omitted, the default is FALSE.
Return: WorkunitExists returns a BOOLEAN value.

The WorkunitExists function returns whether the wuid exists.

Example:

OUTPUT(STD.System.Workunit.WorkunitExists('W20070308-164946'));