On Thu, May 15, 2008 at 9:01 PM, Pat Cappelaere <[EMAIL PROTECTED]> wrote: > > So it looks like this is an XPDL to Dot translator... > I am trying to think what you are thinking..... Hummmm!!! > XPDL to OpenWFE would be good :)
Hello, yes that's what I'm doing, XPDL to OpenWFE, but for my first day I stopped at a pivot format. The package is named "ruote-transition", it turns XPDL into a Graph-Place-Transition (structure). One could add YAWL or other state(place) - transition oriented stuff into that structure. Tomorrow I have a bit of time for translating that GPT format into OpenWFE. It's the fun part, it feels like writing an exotic compiler. I hope to come up with a primitive (naive) version very soon. Maybe we'll have one or two strategies. > This looks like a good start though... > I had started something but had to focus on the WfXML API to allow multiple > engines to function together. By the way, a memorandum of understanding > between the OGC and the WfMC just got signed to move forward and start more > interoperability demonstrations. Official Press release is on its way. Very cool ! Well done. > So, WfXML needs to be finished (spec and reference implementation). This is > what I am trying to do at the moment by taking another pass from Ruote-web > (and git), bringing in the GeoBPMS code that makes sense and adding user > stories for integration testing. > > Next would be the XPDL 2.x to OpenWFE translation so we can leverage > existing BPMN-based GUI's. > > I guess that this could be done within this new git. Not sure where the Dot > file would fit though... > > I was thinking of XPDL to <OPENWFE/> (XML expressions)...rather than the > Ruby flavor... Unless there is a good reason to do Ruby. In fact, the latest versions of OpenWFEru (Ruote) use s-expressions, so RawExpression (unevaluated pieces of process instances are stored as trees of the composite [ expression_name, attributes, children ] where children is an array of [ en, a, c ]... So you can turn these trees of s-expression into XML or Ruby at http://github.com/jmettraux/ruote/tree/master/lib/openwfe/expool/parser.rb#L172-235 And of course, YAML and JSON are OK as well. Ruote-web (Ruote-fluo) uses the JSON version as input when rendering to pseudo-BPMN. So no problem for the XML output you want. The DOT format is just a debug help, it could prove helpful one day, and it's just 10 lines of code. OK, already in bed, I'm glad you like that, cheers ! -- John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru dev" 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/openwferu-dev?hl=en -~----------~----~----~----~------~----~------~--~---
