Workflow print History task

Curious within a workflow when a file goes to approved is there a task that can create a text file of the history of the file.??

-Thanks

SolidworksSolidworks Pdm enterprise Pdm