Discussion:
[Erp5-dev] Workflow association - pre- and postupgrade
Łukasz Nowak
2007-09-06 09:28:58 UTC
Permalink
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>
Łukasz Nowak
2007-09-06 09:58:57 UTC
Permalink
Hello,

Forgot to sort list (results aren't so diff friendly w/o sorting).
Sorting version attached.

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: 770 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070906/01ce1f1b/attachment.obj>
Loading...