Setting historic process instance variable

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2015 12:31 AM
Greetings,
I want to update a historic process instance variable, as a part of my business requirement.
Is it even possible, if yes then which API should I use for the same?
I am using Activiti 5.16
Thanks in advance.
I want to update a historic process instance variable, as a part of my business requirement.
Is it even possible, if yes then which API should I use for the same?
I am using Activiti 5.16
Thanks in advance.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2015 05:20 AM
No, the API' in Activiti don't allow that: once it's in history it is set in stone.
If you need it though, you will need to add your own Command implementation. In that Command, you'll have access to the lower level entityManager which would allow you to update historical data.
If you need it though, you will need to add your own Command implementation. In that Command, you'll have access to the lower level entityManager which would allow you to update historical data.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2015 05:23 AM
Thank you

