[Erp5-dev] Workflow association - pre- and postupgrade

Łukasz Nowak lukasz.nowak at ventis.com.pl
Thu Sep 6 11:28:58 CEST 2007


Hello,

I haven't found any tool, which would help me compare in acceptable way
workflow definitions before and after upgrade. So I've created one.

Put WorkflowExt.py in your Extensions, create External Method:
 - Id: getWorkflowAssoc
 - Module Name: WorkflowExt
 - Function Name: getWorkflowAssoc

Then use Base_showWorkflowAssoc before and after upgrade - save what it
shows into files, diff them to have quick overview on workflow changes.

It helped me a lot - I hope it help someone too.

Regards,
Luke

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...''
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Base_showWorkflowAssoc
Type: application/octet-stream
Size: 588 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070906/3be94971/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WorkflowExt.py
Type: text/x-python
Size: 1981 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070906/3be94971/attachment.py>


More information about the Erp5-dev mailing list