Launch Automator Workflow and pass parameter from Apple Script

I have:

  1. an Automator workflow saved as an application "workflow.app"
  2. an Apple Script saved as an application "script.app"
  3. a PDF file residing on Desktop "test.pdf"

How do I launch workflow.app and pass test.pdf as the input for workflow from inside script.app?

Automator and AppleScript applications can be passed files like any other app. Is there a particular reason for using one to run the other?

Launch Automator Workflow and pass parameter from Apple Script
 
 
Q