STD.System.Job.Name ( )
The Name function returns the name of the workunit.
Example:
A := STD.System.Job.Name();