Commit 8fc7d0bc authored by Jean-Paul Smets's avatar Jean-Paul Smets

Merged ooo_intreraction_workflow and dms_file_interaction_workflow in to a...

Merged ooo_intreraction_workflow and dms_file_interaction_workflow in to a single workflow which handled all interactions related to file upload. Unified conversion tracking and edition tracking into a single workflow (processing_status_workflow). The state of this workflow can be used to know if a file document has been uploaded or converted yet.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13041 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 629d54cb
<workflow_chain>
<chain>
<type>Drawing</type>
<workflow>local_permission_interaction_workflow, edit_workflow, processing_status_workflow, dms_file_interaction_workflow, document_publication_workflow, ooo_interaction_workflow</workflow>
<workflow>local_permission_interaction_workflow, processing_status_workflow, document_interaction_workflow, document_publication_workflow</workflow>
</chain>
<chain>
<type>External Web Page</type>
......@@ -9,19 +9,19 @@
</chain>
<chain>
<type>File</type>
<workflow>dms_file_interaction_workflow, document_publication_workflow, edit_workflow, local_permission_interaction_workflow, processing_status_workflow</workflow>
<workflow>document_publication_workflow, document_interaction_workflow, local_permission_interaction_workflow, processing_status_workflow</workflow>
</chain>
<chain>
<type>Image</type>
<workflow>processing_status_workflow, edit_workflow, dms_file_interaction_workflow, document_publication_workflow, local_permission_interaction_workflow</workflow>
<workflow>processing_status_workflow, document_interaction_workflow, document_publication_workflow, local_permission_interaction_workflow</workflow>
</chain>
<chain>
<type>PDF</type>
<workflow>local_permission_interaction_workflow, processing_status_workflow, dms_file_interaction_workflow, document_publication_workflow, edit_workflow</workflow>
<workflow>local_permission_interaction_workflow, processing_status_workflow, document_interaction_workflow, document_publication_workflow</workflow>
</chain>
<chain>
<type>Presentation</type>
<workflow>document_publication_workflow, processing_status_workflow, local_permission_interaction_workflow, dms_file_interaction_workflow, edit_workflow, ooo_interaction_workflow</workflow>
<workflow>document_publication_workflow, processing_status_workflow, local_permission_interaction_workflow, document_interaction_workflow</workflow>
</chain>
<chain>
<type>Role Definition</type>
......@@ -29,10 +29,10 @@
</chain>
<chain>
<type>Spreadsheet</type>
<workflow>dms_file_interaction_workflow, edit_workflow, document_publication_workflow, processing_status_workflow, ooo_interaction_workflow, local_permission_interaction_workflow</workflow>
<workflow>document_interaction_workflow, processing_status_workflow, document_publication_workflow, local_permission_interaction_workflow</workflow>
</chain>
<chain>
<type>Text</type>
<workflow>processing_status_workflow, local_permission_interaction_workflow, document_publication_workflow, ooo_interaction_workflow, dms_file_interaction_workflow, edit_workflow</workflow>
<workflow>processing_status_workflow, local_permission_interaction_workflow, document_publication_workflow, document_interaction_workflow</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5.Interaction</string>
<string>InteractionDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>activate_script_name</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value>
<list>
<string>AssignCategories</string>
<string>ClearCacheUponUpload</string>
<string>UpdateLocalRoles</string>
</list>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>All_edit</string> </value>
</item>
<item>
<key> <string>method_id</string> </key>
<value>
<list>
<string>_edit</string>
</list>
</value>
</item>
<item>
<key> <string>portal_type_filter</string> </key>
<value>
<list>
<string>Drawing</string>
<string>File</string>
<string>Image</string>
<string>PDF</string>
<string>Presentation</string>
<string>Spreadsheet</string>
<string>Text</string>
</list>
</value>
</item>
<item>
<key> <string>script_name</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5.InteractionWorkflow</string>
<string>InteractionWorkflowDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>creation_guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>This interaction workflow tracks uploads in an existing document and triggers appropriate conversion methods if necessary. It also tracks any edit made to a document and updates local roles / metadata.</string> </value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>document_interaction_workflow</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Document Interactions</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -40,7 +40,7 @@
<key> <string>after_script_name</string> </key>
<value>
<list>
<string>AssignCategories</string>
<string>updateLocalRoles</string>
</list>
</value>
</item>
......@@ -56,13 +56,13 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ExternalDoc_edit</string> </value>
<value> <string>Document_edit</string> </value>
</item>
<item>
<key> <string>method_id</string> </key>
<value>
<list>
<string>_edit</string>
<string>edit</string>
</list>
</value>
</item>
......@@ -70,8 +70,9 @@
<key> <string>portal_type_filter</string> </key>
<value>
<list>
<string>External Library File</string>
<string>External Web Page</string>
<string>File</string>
<string>Image</string>
<string>PDF</string>
</list>
</value>
</item>
......
......@@ -18,6 +18,12 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
......@@ -40,7 +46,8 @@
<key> <string>after_script_name</string> </key>
<value>
<list>
<string>AssignCategories</string>
<string>clearCacheUponUpload</string>
<string>upload</string>
</list>
</value>
</item>
......@@ -56,22 +63,20 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebPage_edit</string> </value>
<value> <string>Document_setFile</string> </value>
</item>
<item>
<key> <string>method_id</string> </key>
<value>
<list>
<string>_edit</string>
<string>_setFile</string>
</list>
</value>
</item>
<item>
<key> <string>portal_type_filter</string> </key>
<value>
<list>
<string>Web Page</string>
</list>
<none/>
</value>
</item>
<item>
......
......@@ -18,6 +18,12 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
......@@ -39,9 +45,7 @@
<item>
<key> <string>after_script_name</string> </key>
<value>
<list>
<string>OOo_edit</string>
</list>
<tuple/>
</value>
</item>
<item>
......@@ -56,14 +60,12 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>OOo_edit</string> </value>
<value> <string>OOoDocument_edit</string> </value>
</item>
<item>
<key> <string>method_id</string> </key>
<value>
<list>
<string>_edit</string>
</list>
<list/>
</value>
</item>
<item>
......@@ -71,7 +73,6 @@
<value>
<list>
<string>Drawing</string>
<string>Memo</string>
<string>Presentation</string>
<string>Spreadsheet</string>
<string>Text</string>
......@@ -81,7 +82,10 @@
<item>
<key> <string>script_name</string> </key>
<value>
<tuple/>
<list>
<string>OOoDocument_updateMetadata</string>
<string>updateLocalRoles</string>
</list>
</value>
</item>
<item>
......
......@@ -158,6 +158,10 @@ if f is not None and f:\n
<key> <string>id</string> </key>
<value> <string>CheckKnownType</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>XXX - Used ?</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
......@@ -156,6 +156,10 @@ if f is not None and f:\n
<key> <string>id</string> </key>
<value> <string>CheckUnKnownType</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>XXX - Used ?</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
......@@ -146,6 +146,10 @@ if f is not None and f:\n
<key> <string>id</string> </key>
<value> <string>IngestAfterUpload</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>XXX - Used ?</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
......@@ -70,6 +70,9 @@
<key> <string>_body</string> </key>
<value> <string>"""\n
when OOoDocument is edited, we update metadata in the ODF file\n
\n
XXX - This script must be verified, written with clean syntax \n
and using less horrible methods (request lookup yuk!)\n
"""\n
\n
ob=state_change.object\n
......@@ -86,7 +89,7 @@ if ob.hasOOFile():\n
newmeta[mf]=kw[keymf]\n
if newmeta:\n
# edit metadata via server\n
ob.editMetadata(newmeta)\n
ob.activate().editMetadata(newmeta)\n
</string> </value>
</item>
<item>
......@@ -101,6 +104,12 @@ if ob.hasOOFile():\n
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>state_change</string> </value>
......@@ -158,7 +167,7 @@ if ob.hasOOFile():\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>OOo_edit</string> </value>
<value> <string>OOoDocument_updateMetadata</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
......@@ -69,13 +69,9 @@
<item>
<key> <string>_body</string> </key>
<value> <string>ob = state_change.object\n
kw = ob.REQUEST\n
f = kw.get(\'my_file\', None)\n
\n
if f is not None and f:\n
# if file uploaded, then:\n
if hasattr(ob, \'clearConversionCache\'): # e.g. File doesn\'t have it\n
ob.clearConversionCache()\n
# if file uploaded, then:\n
if hasattr(ob, \'clearConversionCache\'): # e.g. File doesn\'t have it\n
ob.clearConversionCache()\n
</string> </value>
</item>
<item>
......@@ -121,9 +117,6 @@ if f is not None and f:\n
<string>state_change</string>
<string>_getattr_</string>
<string>ob</string>
<string>kw</string>
<string>None</string>
<string>f</string>
<string>hasattr</string>
</tuple>
</value>
......@@ -141,7 +134,7 @@ if f is not None and f:\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ClearCacheUponUpload</string> </value>
<value> <string>clearCacheUponUpload</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
......@@ -129,7 +129,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>UpdateLocalRoles</string> </value>
<value> <string>updateLocalRoles</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
......@@ -68,17 +68,8 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>"""\n
to assign categories from parallel list field\n
"""\n
\n
o = sci.object\n
request = o.REQUEST\n
pref = \'subfield_field_my_dms_category_list_\'\n
for k,v in request.items():\n
if k.startswith(pref):\n
if v != \'\':\n
o.setProperty(k.replace(pref, \'\'), v)\n
<value> <string>state_change.object.uploadFile()\n
state_change.object.activate().convertToBase()\n
</string> </value>
</item>
<item>
......@@ -93,9 +84,15 @@ for k,v in request.items():\n
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>sci</string> </value>
<value> <string>state_change</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -121,14 +118,8 @@ for k,v in request.items():\n
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>sci</string>
<string>state_change</string>
<string>_getattr_</string>
<string>o</string>
<string>request</string>
<string>pref</string>
<string>_getiter_</string>
<string>k</string>
<string>v</string>
</tuple>
</value>
</item>
......@@ -145,7 +136,11 @@ for k,v in request.items():\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>AssignCategories</string> </value>
<value> <string>upload</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Move to upload state and activate convert</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Variables</string>
<string>Variables</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_mapping</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>variables</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Worklists</string>
<string>Worklists</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_mapping</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>worklists</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -32,7 +32,7 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>A one-state workflow (similar to edit_workflow), for recording and displaying external processing messages</string> </value>
<value> <string>This workflow tracks changes to the current document as well as the state in the conversion process. It provides access to history through serial numbers.</string> </value>
</item>
<item>
<key> <string>groups</string> </key>
......@@ -46,7 +46,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>current</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
......
......@@ -24,6 +24,12 @@
<dictionary/>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>scripts</string> </value>
......
......@@ -4,8 +4,8 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5.Interaction</string>
<string>Interaction</string>
<string>Products.DCWorkflow.States</string>
<string>StateDefinition</string>
</tuple>
<none/>
</tuple>
......@@ -19,20 +19,38 @@
</value>
</item>
<item>
<key> <string>_mapping</string> </key>
<key> <string>_owner</string> </key>
<value>
<dictionary/>
<none/>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>converted</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Converted</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple/>
<tuple>
<string>edit</string>
<string>process_file</string>
<string>upload_file</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>interactions</string> </value>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
......
......@@ -24,18 +24,18 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>current</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>process</string>
<string>process_action</string>
<string>edit</string>
<string>upload_file</string>
</tuple>
</value>
</item>
......
......@@ -4,8 +4,8 @@
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Scripts</string>
<string>Scripts</string>
<string>Products.DCWorkflow.States</string>
<string>StateDefinition</string>
</tuple>
<none/>
</tuple>
......@@ -19,20 +19,40 @@
</value>
</item>
<item>
<key> <string>_mapping</string> </key>
<key> <string>_owner</string> </key>
<value>
<dictionary/>
<none/>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>uploaded</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Uploaded</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple/>
<tuple>
<string>convert_action</string>
<string>convert_file</string>
<string>edit</string>
<string>process_file</string>
<string>upload_file</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>scripts</string> </value>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Transitions</string>
<string>TransitionDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Convert to OpenDocument</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/OOoDocument_convertToBase</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>convert_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Convert to OpenDocument</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Transitions</string>
<string>TransitionDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>This workflow method is called whenever conversion has been successfull</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>convert_file</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>converted</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Convert file</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -18,6 +18,12 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
......@@ -46,7 +52,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>process</string> </value>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
......@@ -58,11 +64,11 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
<value> <string>Edit</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Transitions</string>
<string>TransitionDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>process_action</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Transitions</string>
<string>TransitionDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>This workflow method is called whenever conversion has failed</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>process_file</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>uploaded</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Process file</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Transitions</string>
<string>TransitionDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>This method is invoked each time a file is uploaded</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>upload_file</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>uploaded</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Upload file</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Variables</string>
<string>VariableDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>default_expr</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>default_value</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>for_catalog</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>for_status</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>serial</string> </value>
</item>
<item>
<key> <string>info_guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>update_always</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>state_change/object/getHistorySerial | nothing</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment