-
1. Re: Process Definition Creation APIs
kukeltje Nov 28, 2006 3:41 AM (in response to leobaz2)Yes, although I think your definition of public differs from mine here. The JbpmContext is normally the api to direct the engine. But you can use the ProcessDefinition object and all related objects to create one and deploy it. You could also have your code generate an xml document. The latter is probably easier.
-
2. Re: Process Definition Creation APIs
leobaz2 Nov 28, 2006 4:57 PM (in response to leobaz2)Thanks, using the ProcessDefinition object will work for me. However, why would it be easier to create the xml document? I would hoping to just pass the ProcessDefinition object itself to something.
-
3. Re: Process Definition Creation APIs
kukeltje Nov 28, 2006 5:12 PM (in response to leobaz2)passing the ProcessDefinition will work.... and it was just my opinion that it would be easier to create the xml document. No special reason to do that, or it migh be that if it is stored, it can be looked up, changed and redeployed again. But if you feel comfortable using the PD, then go ahead.