Nice work on the ContentItem stuff in trunk. The abstract content item seems it will make getting versioning and workflow in much smoother.
I do have a question why in ContentItem the Worlflow State field is a enumeration instead of a simple string? The string would either be the name of state - or in a really simple scenario the state itself.
The context I'm thinking in is how to use the ContentItem for an issuetracker (where an issue is the contentitem). The state though would be all the attributes related to the issue (status, priority, version...).
Thanks,
Hi,
the ContentItem serves only for the most common scenarios, so for an issue tracker you'd inherit Issue : ContentItem and add your issue status field.
The reason why WorkflowStatus is an enum right now relates to the complexity of a general-purpose workflow system. Having some predefined states makes it a lot easier to implement.
The idea is to let the editor/creator choose what the next status will be and who (user or role) will be responsible for this new status (if applicable).
In the simplest case, I create and article (initially "draft" ), choose "review" and assign this to the role or user that should review it.
What is still missing is a task management service that sends out emails or updates the user's tasks with this kind of information, so you can have a "My Tasks" module that lists what's left to do.
Max
Should there be a workflow status for declined? And what about a published state? (Approved, doesn't neceseraly mean published)
Is the article module ready or on development to support these new interfaces?
Marco
markfindIs the article module ready or on development to support these new interfaces?
Marco
From the svn download I did yesterday, no it is not.
Also - the title of the thread is a bit misleading because the workflow service/interface I believe is in development (by Max). I named the thread a general name so there would be a place to put workflow related questions in relations to what's actually being developed.
Has any further work been done on ContentItem and workflow that can be added to the repository yet?
Every little would help
Matt