Create a reference to a file from a task or within workflow

I have a workflow that creates a PDF when a part has been approved.

Unfortunately, the PDF is not referenced to the original file. Can that be corrected automation?

Thanks,

Carlotta

SolidworksSolidworks Pdm/enterprise Pdm