Skip to main content

Hello All,

We have a requirement to audit the changes made to the data while in work flow.

E.g. we have a comment field on a form, we need to have the history of what all changes happen to that field. If someone deletes all the data and add new, we should have the old data stored and check what changed.

Does K2 have this ability out of box or we would need to do some of custom coding for this?

 

Help appreciated

 

Thanks

Hi Shreyas

 

If you use a process data field to store the comments from the form you can set the "Keep Audit" attribute on. K2 will then keep a record each time this field is changed. The audit history is then visible in the ViewFlow and OOB reports. 

 

If you are using a SmartObject field you will need to create your own audit mechanism (e.g. implement a stored procedure or trigger on the database to copy the data for each insert/update query).


Reply