Nuxeo mailing list archives
[CPS-users] CPSWorkflow sub-object difficulties
Winterflood, Jonathan
jonathan.winterflood at capgemini.com
Tue May 22 11:40:58 CEST 2007
Hi,
I'm creating a special workflow for custom documents on my CPS site, and
I can't get objects with sub-objects to follow the flow:
I have a custom workflow, in which I created a second state
'geo_index_pending'. There is a transition 'geo_request' that leads from
'work' to 'geo_index_pending'.
In the documents (only top-level), the action appears. When I apply the
action, on documents without sub-documents there is no problem, but when
there are sub-documents, I get this error:
* Module ZPublisher.Publish, line 115, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 41, in call_object
* Module Products.CMFCore.FSPythonScript, line 108, in __call__
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPythonScript, line 164, in _exec
* Module None, line 24, in content_status_modify
<FSPythonScript at /DBR/content_status_modify used for
/DBR/members/dbr/00000000001>
Line 24
* Module AccessControl.ZopeGuards, line 341, in guarded_apply
* Module AccessControl.ZopeGuards, line 363, in
builtin_guarded_apply
* Module Products.CPSWorkflow.workflowtool, line 711, in doActionFor
* Module Products.CPSWorkflow.workflowtool, line 754, in
_doActionForRecursive
* Module Products.CPSWorkflow.workflowtool, line 755, in
_doActionForRecursive
* Module Products.CPSWorkflow.workflowtool, line 734, in
_doActionFor
WorkflowException: No workflow provides the "geo_request" action.
As far as I can tell, the sub-object can't follow the parent in its
transitioning. How should I go about allowing this?
TIA,
Jonathan
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-users/attachments/20070522/18048e52/attachment.htm
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.