We can associate any existing document from the repository in a workflow package by add_package_item_actions Action Group as defined in the web-client-config-workflow-actions.xml settings.
How can we upload an altogether new document in the repository in a workflow task? And the document will be associated in workflow package?