The WorkflowSubjectLookup component in the registration workflow is a servlet bean of class atg.repository.servlet.ItemLookupDroplet that is configured to work with the workflow’s repository and item type. This servlet bean is useful for looking up properties of the workflow subject given the subject ID. In the following example, the taskInfo parameter points to a TaskInfo object returned by a WorkflowTaskQueryDroplet:

<dsp:droplet name="WorkflowSubjectLookup">
  <dsp:param name="id" param="taskInfo.subjectId"/>
  <dsp:oparam name="output">
    <dsp:valueof param="element.employeeFirstName"/>
    <dsp:valueof param="element.employeeLastName"/>