cancel
Showing results for 
Search instead for 
Did you mean: 

How do I attach a document to a workflow

parul_vipparthi
Champ on-the-rise
Champ on-the-rise
Hello all

I am new to this forum and activiti. Can someone guide me on how do I link a document (Say Financial report) to a workflow defined in BPMN2 xml file? This document goes through various states based on user roles.
Any help will be appreciated.
Thank you
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
The easiest way is to store the reference to the document as a process variable in your process.
Whenever you need it, you can resolve it and use it in your Java code.

parul_vipparthi
Champ on-the-rise
Champ on-the-rise
Thanks much for a quick reply
Smiley Tongue