Tarek Ziadé schrieb:
Joachim Schmitz wrote:

Tarek Ziadé schrieb:

Joachim Schmitz wrote:

In our studentregistration portal we have a studentfolder, which
contains other folders or documents, whichs workflows depend on the
current status of the student.
I would like to define one workflow for a student and all related
documents. How can I do that with a documentbased workflow like
CPSWorkflow ?

Maybe you could create a placeful workflow in that part of the portal,

There's a complete documentation here:
http://www.cps-project.org/sections/documentation/developers/cpsworkflow

Actually I don't understand how that would solve my problem. I have
something like this:

- the manager creates the student-folder with a document containing
the admission examination results.
- the student can then do his first login
- at this first login a personal document is created
- then he can/must upload some documents
- then he can book his accommodation --> accommodation document is
created.
- then ... and so on

since, as far as i understand it, you are grouping one student's
documents in one container, you can apply specific workflows
on that container

Do I have to define a workflow for each document, or can I define
everything in one workflow (placefull or not) ?

Is there somewhere an example, I can look at ?

IIRC the document I have pointed explains how to do it.

All it says about "Placeful workflow configuration" is:

Workflow configuration is placeful in CPS: we can decide that for a given subtree, a given portal type will follow a given workflow. A placeful (local) workflow is used for instance to have a subtree dedicated to public content where objects must pass through a reviewing process (sections), and another subtree where the objects can be created and worked
upon easily by the members (workspaces).

That sounds to me that I have to create a dedicated workflow for each document, since each document, which can be created in the students folder, has it's portal_type.


--
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to