Take a look at the error, it’s telling you that you’re passing a FileInfo (CurrentFile) into the activity, which is expecting a different kind of object.
To “convert” the Fileinfo into something useful for the activitity you should use the current file’s full path, in addition to that it looks like you need to input a “IResource” object.
Try this:
Open the PDF File input in advanced editor: