OK, I've got it...

I had created some sub-documents when they still had the wrong workflow chain, 
and therefore when I set the correct workflow for the workspace, their state 
became 'None', and obviously the transition couldn't apply there.

I found out by inspecting the documents in the ZMI: manage_workflowsTab

Thanks for your help,
Jonathan 

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Winterflood, 
Jonathan
Envoyé : jeudi 24 mai 2007 10:07
À : Anahide Tchertchian
Cc : [email protected]
Objet : RE: [CPS-users] CPSWorkflow sub-object difficulties


Thanks for your answer,

Indeed, the document is folderish (but not the subdocuments) and is a type 
created with cpsschemas and the types tool (as far as I can tell, I didn't 
create them)

So far, I have given both types the same workflow in 
members/.cps_workflow_configuration : workspace_dbr_loi_wf (my custom workflow)
In sections/.cps_workflow_configuration, both types use section_dbr_loi_wf 
(another custom workflow) and this seems to work fine: one can accept or reject 
the publication of pending texts and their parts (and the parts have the 
actions available)

However, the parts in the member spaces do not have the actions available.
Could this be a clue?

Regards,
Jonathan


-----Message d'origine-----
De : Anahide Tchertchian [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 23 mai 2007 16:39
À : Winterflood, Jonathan
Cc : [email protected]
Objet : Re: [CPS-users] CPSWorkflow sub-object difficulties

Hi,

Winterflood, Jonathan a écrit :
> 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:

[...]

> As far as I can tell, the sub-object can't follow the parent in its 
> transitioning. How should I go about allowing this?

As I can tell, your document is folderish, wich is a good thing to make 
its children follow its transitions.
Now to make it happen ok, you have to change your sub document workflow 
so that it has all the transitions the parent has.
You don't have to declare actions for these new transitions if you do 
not want the sub document to follow them on its own, but they have to exist.

Regards,

-- 
Anahide Tchertchian, Nuxeo
Mail: [EMAIL PROTECTED] - Tel: +33 (0)1 40 33 79 87
http://www.nuxeo.com - http://www.nuxeo.org

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.

_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

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.

_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to