Macro categories
Scripts are organized in a clear structure using categories.
Use categories to organize your scripts in a clear structure.
Click
Application launcher >
Administration.
Click Evaluations and select Macros.
Click
Create category.
Enter the name of the new category and click Apply.
The category is displayed only in the current language.
To display the category in multiple interface languages, you must rename the category in each language. If you do not specify a category in a particular language, the category is displayed in English.
You can change the name of a category or specify the name in a different language. You cannot change the name of the Standard category.
Click
Application launcher >
Administration.
Click Evaluations and select Macros.
Select the category and click
Rename.
Select the related language.
Enter the name in the selected language and click Apply.
The category is renamed in the current language.
You can delete a category and all the scripts that it contains. It is recommended that you first export the scripts in order to have backup files.
Click
Application launcher >
Administration.
Click Evaluations and select Macros.
Select the category that you want to delete. You cannot delete the Standard category.
Click
Delete.
Click Delete to confirm.
The category and all scripts that it contains are deleted.
You can import scripts from export files or import common files that a script uses during runtime. This enables you to provide scripts from another tenant or import scripts from a previous version.
Click
Application launcher >
Administration.
Click Evaluations and select Macros.
Click the category into which you want to import the script.
Import.
Select the related import file and click Open.
If the script already exists in a category, you must confirm in order to import a copy into the selected category.
If the script executes imported common files during runtime, you can enable the required file and confirm the import of the file. Otherwise, the current common file on the tenant is used.
The script is imported.
Create your own event-triggered macro that automatically starts a report or a semantic check.
Click
Application launcher >
Administration.
Click Evaluations and select Macros.
Click the category to which you want to add the macro or create a new category.
Click
Create Macro.
Select the language in which you want to edit the text fields.
Specify the entries in all required languages. Name and Description are especially important. Overwrite the name, subject, author, company, or description, as required.
Select the next language, if required, and edit the text fields in turn.
If required, disable the Available to users check box if you created a macro but have not checked it yet. Scripts can still be edited in the Script Editor (ARIS Architect).
Click Context >
Add event and add the event that will automatically start the report or semantic check.
The added event defines the context for which the macro can be started. You cannot add types, such as model types, but you can activate Include derived types. This makes sense if you want the macro to be started, for example, for a model of a derived model type that is not listed in the added model types.
Click Content and in the Content field select The macro runs a report or The macro runs a semantic check, as required.
Select the required report or semantic check profile.
Click Output, enable Generate output file, and select the file types if required.
Click Apply.
The macro is available.
If you restrict access for execution to specific users, make sure that these restrictions exactly match the ones of the report or the semantic check profile to be started by this macro.