Discussion:
[Erp5-dev] Modifying existing workflow history
Jacek Medrzycki
2007-07-30 13:51:44 UTC
Permalink
Hi.

Is there any way or hack to modify existing workflow history, in
particular values of transition variables such as 'comment'?

Sometimes our client wants us to modify wrong data entered by their
operators. We easily can do that if the data is standart property, but
not if it is in workflow history.

Regards
J.
Pelletier Vincent
2007-07-30 17:11:14 UTC
Permalink
Post by Jacek Medrzycki
Sometimes our client wants us to modify wrong data entered by their
operators. We easily can do that if the data is standart property, but
not if it is in workflow history.
It's because of the way data is stored in the workflow_history property.
You should take a look at this page I recently created on the wiki:

http://wiki.erp5.org/UnderstandingPersistency

Precisely, it takes workflow_history as an example.
--
Vincent Pelletier
Jean-Paul Smets
2007-07-30 20:00:46 UTC
Permalink
Post by Jacek Medrzycki
Hi.
Is there any way or hack to modify existing workflow history, in
particular values of transition variables such as 'comment'?
Sometimes our client wants us to modify wrong data entered by their
operators. We easily can do that if the data is standart property, but
not if it is in workflow history.
Workflow history is intended to be read-only. You can say to your
customer that if workflow history can be modified, then the system no
longer provides traceability.

Accountants are usually very happy that the workflow history is
read-only (ie. to prevent someone from changing a transaction without
leaving a trace).
Security people are also very happy that workflow history is read-only.

So, if you need something which needs to be modified, consider using
something else (ex. subobjects of the current document).

Regards,

JPS.
Post by Jacek Medrzycki
Regards
J.
_______________________________________________
Erp5-dev mailing list
Erp5-dev at erp5.org
http://erp5.org/mailman/listinfo/erp5-dev
--
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org
Loading...