I agree with Karthikeyan, although I usually use the workitem.executedbyuser from the task container, this is an object of type 'USR01', it has a 'namewithleadeingUS' attribute if you want to use it as the agent for a rejection task and it more attributes you can use, for example the name of the agnet etc.
↧