Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsOne or two runtimes?...
https://www.eclipse.org/forums/index.php/mv/msg/1065762/1692462/#msg_1692462
I've been modelling this as a single MarkLogicWorkflow runtime, and two diagram types. Is this the recommended way, or should I instead use a CPF runtime and a Workflow runtime? It seems to me that custom tasks need pointing to the right runtime, and a 'State' custom task only makes sense in the CPF diagram, not the Workflow diagram.
Should I instead create two Runtimes in my extension, one for CPF and one for Workflow? This way the custom tasks can hang off the appropriate one. (There is no overlap between the two in custom types, only in their use of generic BPMN2 activity types)
Thanks in advance.]]>Adam Fowler2015-04-16T03:36:51-00:00Re: One or two runtimes?...
https://www.eclipse.org/forums/index.php/mv/msg/1065762/1692584/#msg_1692584
To be honest, I have not run across this use case before and can't anticipate all of the implications of doing this one way or another...
That said, I suppose it would make sense to define two different runtimes, implying two different extension plugins (more work for you to maintain these!)
Just be sure to define two different target namespace URIs for each of your runtimes, since the extension plugin chosen to edit a given file depends on this URI defined in the file.
Cheers,
Bob]]>Robert Brodt2015-04-16T15:55:07-00:00Re: One or two runtimes?...
https://www.eclipse.org/forums/index.php/mv/msg/1065762/1692615/#msg_1692615
I'll post in the forum when its ready for testing.
Thanks for the reply.]]>Adam Fowler2015-04-16T23:03:09-00:00Re: One or two runtimes?...
https://www.eclipse.org/forums/index.php/mv/msg/1065762/1692744/#msg_1692744
Thanks Adam!]]>Robert Brodt2015-04-17T13:51:54-00:00