Author Topic

Paul Borgermans

Monday 01 September 2003 9:00:49 am

Comment38647

Hi Paul

In theory this is 50% possible:

- I can't see object creation of a "special" class be able to trigger a workflow
- However, one could setup a general workflow event which checks for certain attributes (like class dependence) and which "forces" the creation of dependent objects from certain other classes. This can intrinsically be made recursive (class A forces creation of class B objects which forces the creation of class C objects).

I want this too since the idea of having a "super class" where attributes are treated in chunks through a workflow is perhaps not that nice: it means a workflow event to be created for every new class that falls under such a scenario.

Instead I think its better to create child objects of a certain classes which hold (meta-) data through a generalised workflow process. This would involve a new datatype which contains a selector which relates to one ore more other classes from which to create child objects. The selector should be tied either to another attribute or behave more or less like an enum datatype (think book, article, poster which lead to different kinds of child objects).

I should know how to do it since Jo Henrik teached me the basics to do so ;-) ... Where is that clone machine?

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans