Andreas Hartmann wrote:
Jörn Nettingsmeier schrieb:
Should the creation of a document require a workflow transition?

i did not talk about a transition, but a default state.

The versions are bound to transitions, not to states. I.e., a
version is only created when a transition is executed.

well, no need to change that. just extend this definition with "...or when the document is initially created." just one local change in the default document creator.

and, um, creation is a transition from non-being into being. all nice and constistent. (/me runs and hides)

nothing at all has to change in the way workflow is defined and implemented.

currently, we have this:

* new document is created, no workflow state.

No, it is in the initial state:

  <state id="authoring" initial="true"/>


* someone edits it, and the workflow implementation figures, hey, someone is editing it, let's initiate a state transistion. oh wait, there is no state yet.

No, it is in the initial state.

i see. but that's even nicer. then nothing at all has to change in the workflow implementation. only the document creator has to be extended to create a state in it (which has to be the one with initial="true" in the workflow.xml of the document module). or am i missing something?






--
"Open source takes the bullshit out of software."
        - Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to