Pass document id to workflow
I'm writing a report program which can trigger a workflow .
The workflow is used to change the documnt's status.
Can someone give me some advice how can I pass the document id to the workflow.
I'm waiting for your help.