cancel
Showing results for 
Search instead for 
Did you mean: 

attach a file to an activiti workflow

fatma19
Confirmed Champ
Confirmed Champ

I am currently developping an app in which i am using alfresco as ged and activiti as a process engine.

I want to create a process in which i am using a file stored in alfresco as attachment,so how can i make a link between the process and the file.I thinked about creating a mysql db table in which i have process id and file id.

is that a good idea or there is other sollutions ? 

By the way i am using activiti 5.22

Thank you in advance Smiley Happy 

1 ACCEPTED ANSWER

cjose
Elite Collaborator
Elite Collaborator

The answer really depends on the use case. What is purpose of the link, is that to be used in your process in other steps or is that for something else(future, other application etc) outside the process scope? If it is the latter, storing that in a table with a reference sounds good. If it is to be used in the same process, setting the ids as process variables should be enough.

Ciju

View answer in original post

2 REPLIES 2

cjose
Elite Collaborator
Elite Collaborator

The answer really depends on the use case. What is purpose of the link, is that to be used in your process in other steps or is that for something else(future, other application etc) outside the process scope? If it is the latter, storing that in a table with a reference sounds good. If it is to be used in the same process, setting the ids as process variables should be enough.

Ciju

fatma19
Confirmed Champ
Confirmed Champ

yeah i am going to use it in the other steps of the process,so i am going to make it as a process variable  
Thank you mr Ciju