Adding WHSWorkController class in Batch tasks

Hi All,

I want to create the conditional batch job where WHSWorkController is one of the task. But while adding this class im getting the below error ''report name is not set. please set report name using parmreportname method".

Please tell me how to slove this issue.

Can anyone explain how can i use the class like WHSWorkController in the batch task(System administration - inquiries- batch jobs - View tasks)?