cancel
Showing results for 
Search instead for 
Did you mean: 

Start Advanced Workflow With two or more documents

nicola_bimbo
Champ in-the-making
Champ in-the-making
Good Morning,
i would be start the advanced workflow with more documents. In particular i would be start the workflow, having as document the email. But when starts the workflow i would be use as resources not only the file EML but also its attachments.
Through java class i can extract the attachment of a file EML and i would be start workflow with file EML and the extracted attachment.
How can i execute this?

Thanks.
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
Look at the WorkflowService. You can call createPackage to get a workflow package container. Then, add one or more documents to the container. Then, call startWorkflow.

If you want to see this in action, look at the StartWorkflowActionExecuter class. It starts a workflow for the actionedUponNode but you could just as easily add as many nodes to the package as you need to.

Jeff