Python is a good language for workflow because of it's support for serialization of built in and custom types which is important for processes that need to survive a reboot. I think a good start to a web2py workflow engine would be an event model that let's developers subscribe to CRUD operations in the database and an API that provides a set of activities that do things such as create and assign tasks, wait for a field to change in the current item, send emails, alter permissions on the current item, delay, etc. Also, a workflow manager would be needed that dispatches the events, serializes/deserializes items and tracks their state so that if the machine is restarted, the workflow can be re-hydrated and resumed properly. I do a lot of Sharepoint workflow programming so these ideas borrow heavily from them but could probably be simplified and improved. I think web2py workflow engine would be a nice feature for businesses that use a lot of forms.
On Jan 6, 9:04 pm, mdipierro <[email protected]> wrote: > If you could come up with a reasonable list of specs and references I > can try add that to T3. > I am interested in it. > > Massimo > > On Jan 6, 8:25 pm, "Alexandre Miguel de Andrade Souza" > > <[email protected]> wrote: > > I think it (support to workflow) could be done like a module/layer as T2/T3. > > There are various kinds of workflow, since the simple ones, like you > > described, until the Business Process Management, but web2py (yet) haven't > > support to them. > > > Web2py is good, python either, but I don't know good workflow frameworks in > > python. > > There is support to workflow in Plone/Zope, like you want. > > > But good BPM frameworks not yet. > > > Alexandre > > > On Tue, Jan 6, 2009 at 10:52 PM, BigBaaadBob <[email protected]> wrote: > > > > How would the group recommend one support workflow in a Web2py app? > > > > Consider, for example, a document approval application. The document > > > may have to go through various steps of review and signoff, with > > > notification and recording at each step. > > > > Is there support for that in Web2py, or something that is easily > > > integratable? Anything other than hand rolling? > > > -- > > Atenciosamente > > > -- > > ========================= > > Alexandre Miguel de Andrade Souza > > Hipercenter.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

