I would like to create a macro in ARIS 10. The macro I want to develop should work as follows: when I enter a value into Attribute A — for example, "Web Method" — Attribute B should automatically be filled with a predefined value, such as "WM". Has anyone ever created such a macro before? Thanks.
5 Replies
Hi,
there is a Macro Event "Object attribute changed" or "Model attribute changed".
If you want to use the macro in Connect Designer, the macro will only be able to start a report.
So all you logic has to be defined in the report.
In the report, you can use "Context.getProperty("attributes")" to retrieve the typenumber of the changed attribute.
KR
Klaus
Thanks Klaus — I’ve successfully created the macro by running it as a report, since there’s no function to set attribute values directly within a macro.
Writing Attributes works with Designer.setAttributePersistent in macro.
Problem is that the Macro API only works for macros in Architect / ARIS Desiger, but not in the Connect Portal / Connect Designer.
In Connect, Macros can only be used to start reports, all the logic needs to be implemented within the report.
KR
Klaus
Hi Klaus,
it's still very confusing, what is implemented and what is working in which version. Is there any anouncement/planning when the transfer phase from Client/Server to Cloud is finished.
Regards
Klemens
As far as I know, there is no planned date when the "old" Java - ARIS Architect world will be shut down, but of course we're trying to bring all functionality to Connect / Cloud as fast as possible.
Actually, creating APG workflows is one of the few remaining topics that require Architect.