sparx Enterprise Architect BPMN simulation step into and out of child models (composite models) - enterprise-architect

In BPMN 2, if I create a context-menu=>new child diagram=>Composite Structure Diagram within the same package, then the simulation navigates to it and also back out to the parent.
However, when I link to a BPMN2 diagram in another package via context-menu=>new child diagram=>select Componsite Diagram then the simulation-navigation no longer works. What am I missing?
Possible/Tips?
Registered Enterprise Architect (Professional Edition) 14.0.1421

Answer from Sparx Support:
With the BPMN simulation this is restricted to a single package. As
the BPMN (and in particular the BPMN XML) is basically restricted to a
Model in a Package, it is not intended to support references to
elements contained in other packages.
If you are intending separating elements you might consider doing this
with Pools.
I hope this is of help.

Related

Adding elements or resources to services (provided or consumed interface) in Enterprise Architect

I have a meta model in Enterprise Architect. The project folder has one main <<Component>> which is the System. This System has many children with stereotype <<Application>>. Application means any component which is part of the system. Each of these components have services (provided and/or consumed interfaces).
My question is, I want to add a resource or object to these service. Could somebody guide me how to do this. The only option I can find is to add ports.
Apologies for not providing too much specifics, as the project is non disclosable.
EDIT: I can give an example. Suppose the system is a Car and one of the applications is Navigation System. The Navigation System has a service called Navigation (providedInterface that provides Navigation). I want to add children to this service, like say Notification, Audio Feedback, etc. These objects (or called as resources in my project) have different properties like getCurrentLocation, showRemainingDistance, etc.

Running customized (non-BPMN) process definitions with Activiti

We are evaluating Activiti as a process engine to replace our existing home grown work flow engine. We are quite impressed by the capabilities of Activiti especially related to multi tenancy and REST WS.
However, one of the biggest challenge (and probably blocker) to adopt Activiti would be - How we can run or migrate our existing work flow definitions.
As I mentioned earlier, our work flow solution is a home grown one and doesn't adheres to BPMN specifications. There are thousands of templates out there. We can't simply ask our customers to redefine their templates using Activiti. These definitions are stored in proprietary XML format.
Looking at the level of customization in the templates, it would be very difficult to migrate these definitions to BPMN format.
So, does Activiti provides any hooks to run such custom templates. Alternatively, please share your thoughts about migrating the templates from proprietary format to BPMN format.
I suppose such scenario would be common and other people would have faced the same.
I know I am being very vague with this query but at this stage I don't have specific problems that I can discuss.
One option is implement your own proprietary XML parser and parser handlers. Look at org.activiti.engine.impl.bpmn.parser.BpmnParse and org.activiti.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler and its descendants.
We did it and worked fine.

Code Generation for Deployment Diagrams

I know that there are tools which can be used to generate code for Class Diagrams and Statechart Diagrams but I wanted to know whether there is any tool that can be used to generate code for deployment diagrams as well.
No, there is no such tool. And the obvious reason is that a deployment diagram does not describe code, it describes a deployment structure, servers, components etc. Even though usually there are some scripts relevant with any deployment, several other actions are required as well when you deploy something (setting up servers, copying resources etc).
On the other hand, class diagrams and sequence diagrams describe structure and interactions of code artifacts. A class diagram describes class definitions. A sequence diagram describes a method of a class. This is why you can find tools that generate code from those types of diagrams.
There are also tools that generate code from state diagrams, but this is not a generic functionality. You can't generate code from any state diagram, because the elements of a state diagram do not correspond to specific code artifacts by definition. Only if a state diagram is defined in a specific context and then you have tools for code generation specific to this context.
Example: You describe the flow of screens in a UI as a state diagram with each screen represented by a state, and you have a tool that can convert this type of diagram to some type of UI code as web forms or JFrames.

IBM RSA: Code Generation out of which diagram types?

Can only Class Diagrams be transformed?
Or can other diagram types be put to good use, too?
For a university project we are forced to put the Rational Software Architect to good use.
I was not able to find reliable information on that topic by myself for hours, that is why I am asking here for help.
Code generation is only from class diagram.
If you export your model to xmi serialization then after a long and painful job you could be able to generate code but this code generation is not integrated in the tool.
Out of the box RSA generates code for Classes and Associations etc., if you have a version/cartridge supporting that.
But RSA uses the org.eclipse.uml model, which is EMF based. This means you can use any generator like XPand or JET to generate custom code for any UML model element.

alfresco workflow configurable and barcodes

i have a couple of questions on Alfresco.
Is Alfresco workflow module, point and click configurable or is programming needed?
Can Visio diagrams be used to set workflow?
Can Alfresco process 1-D and 2-D barcodes?
Regards
vish
Currently Alfresco workflows can be developed using the JBPM Graphical Process Designer, which produces XML files you directly upload into Alfresco. Be aware of the fact that in the future the default workflow engine of Alfresco will change to be Activiti.
Barcode generation/scanning is not supported by Alfresco.
At the Alfresco Devcon in New York (2010) Neil McErlean did a presentation on the Alfresco Action Framework where he demoed an example of working with QR codes.
The presentation can be found at http://www.slideshare.net/alfresco/custom-action-framework
I am not sure where the source code lives for this customization. So while it can't be done OTB, it is a customization that is possible and has been done as a POC.
More recently, the Activiti workflow engine is the default in Alfresco (though jBPM is still available). There is an Eclipse plugin that can be used to do the initial workflow design graphically (and output BPMN XML files).
However, the BPMN is not useful until it has been manually enhanced with Alfresco-specific features such as the assignee (person or group) for a task, the form to use to display the task, and scripts to create and maintain process and task variables, and/or hook into events triggered during the workflow. Further work may be needed to define the task model (the variables that each type of task needs) and to customise the Share user interface to display the tasks correctly to users. See this article for an example.
So although the initial draft design can be done graphically, detailed programming is also needed. The Alfresco training materials for workflows specifically state that end users cannot create new workflows without assistance from a developer.
The exception is "simple workflows", which don't use BPMN or jBPM, and are simple one-step Accept/Reject decisions that can be created by end users.
You can use whatever BPMN tool as long as it generates an xml BPMN xml output so you can import it into Alfresco activiti