cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Attachments/Comments extensions

xshogun
Champ in-the-making
Champ in-the-making
I'm trying to store attachments through Activiti engine and was wondering if it's possible to extend the logic to be able to store additional attachment information like the date when the attachment was added.
Likewise can the same be done for comments (storing additional fields like comment category etc.)?

Thank you.
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Yes you can extend activiti. It is opensource.

Regards
Martin

I was wondering if there's a mechanism within Activiti (to implement some sort of provider etc) without the need to change Activiti code.

trademak
Star Contributor
Star Contributor
We have an event handler mechanism since Activiti 5.15 that provides you an event when a comment or attachment is created:

http://activiti.org/userguide/index.html#eventDispatcher

Implementing an event listener will provide a possibility to store additional information in non-Activiti table if needed.

Best regards,