Activiti Attachments/Comments extensions

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2014 10:59 AM
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.
Likewise can the same be done for comments (storing additional fields like comment category etc.)?
Thank you.
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2014 05:36 AM
Yes you can extend activiti. It is opensource.
Regards
Martin
Regards
Martin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2014 08:07 AM
I was wondering if there's a mechanism within Activiti (to implement some sort of provider etc) without the need to change Activiti code.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2014 02:42 AM
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,
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,
