To the best of my knowledge, the procedure of creating and running processes is as follows:
- You create a process diagram using Eclipse-based process editor. The diagram is stored as XML file.
- When you want to run a process, the process diagram (XML file) is translated into a process object model kept in a memory.
- The fluent API is meant for dealing with the process object model. You can manipulate it or even you can create it from the scratch.
- For dealing with the process diagram you can use standard XML API for direct processing of XML document or you can use API of a plugin which was used to create the process editor (GEF probably, but I'm not sure here).
Best regards,
Sergio