Hi JD,
I think you forgot to attach the screen shot.
Any class which is used in the workflow tasks has to implement the interface IF_WORFLOW.
Now you create you custom methods in this class (STATIC PUBLIC) and use those methods in your tasks.
Hope it helps.
Regards,
Vinay Mutt