Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Mr Stuff on June 29, 2017, 04:05:31 pm
-
I accuse myself of doing that which I criticise others for: not being able to do what I think I should do and "gaming" the system to do it anyway without asking why I can't do it and what I should be doing instead.
Over on the automation board http://sparxsystems.com/forums/smf/index.php/board,23.0.html (http://sparxsystems.com/forums/smf/index.php/board,23.0.html) I have been asking about script converting BusinessProcess invocations into activities so that I can link them by sequence flows, attach intermediate events etc. [Based on Geert Belleken's synchonize script]
What I realise I now want to know is: given that dragging and dropping a PusinessProcess to e.g. a Collaboration digram creates an invocation, since the UI will not let me use Sequence Flow (and Control Flow links fail BPMN validation), how should Activities link to called Business Processes, and how should e.g. Intermediate Timer events that specify e.g. a deadline for process completion be associated with the invoked. In other words, what is the correct way to
Considerations: the analysis team has done ~100 process models; I was trying to script the changes because there is too much to manually delete/create/link etc. with further connector routing issues if connectors have to be recreated. Called processes should also be triggered by the right events on the calling diagram etc. (Side question: when a BPMN2.0 diagram is validated, does EA check the implied connections to Start and End events (with/without messages))
Given some idea of the right way to do this, scripting it would probably be much easier - Geert's script converts an invocation to a BusinessProcess (but not BPMN2.0, so it doesn't register as a Flow Node, and I'm damned if I can change it make it do that!) and the results are therefore unlinkable.
Many thanks
Julian
Julian