Hi,
I am using ARIS Architect and have created a standard matrix (using the UI, not scripted). I have inserted all of the objects I want and it is working well. The issue is that if a new object is added to the model, this does not automatically appear on the Matrix; I have to notice that it's missing and then add it manually. How can I populate the matrix by selecting a group and recursively including all objects within that group so that the Matrix automatically updates when new objects are added?
It looks like I might be able to do this if I ditch the matrix and script a new matrix using a report, but I'm not clear how that would show in the matrix editor and feels like it will be a disproportionate amount of effort so am hoping to avoid this approach if possible.....
Many thanks
Craig
Hello John,
it sounds like what you really need is not a persistent model, but one that gets created "on demand" as in the word "report". Each time anyone takes a look at it, the information is supposed to be complete and up-to-date. And apparently you have a clear idea of what to include in this report.
Let's suppose you have only objects on one axis of your matrix changing, then you could create a matrix model as a template model with one axis populated and then have people execute a report in the context of the group which contains the objects to be put on the other axis.
Name the model with some timestamp as suffix and have a regular task clean them up every night or so. No-one will ever look at the same model twice.
A model by itself can never be aware of the existence of new object definitions. It's always the choice of the modeller which objects to include as occurrences. They might come from any place in the database and you only have a very special requirement, that you want occurrences of all objects on one of the axis, which come from the same group.
So yes, you will have to write a script. It will copy all objects from the template model to one axis and all object definitions from the selected group to the other axis. Effectively this way you can use the template model to configure your report. Your template could also contain the information which connections to show, if you place a dummy object there. This way your report code can become even more flexible, if you give the user a selection of template models to choose from.