You can generate new macros based on the predefined macros for Process Governance.
Prerequisite
You are script administrator for this tenant.
Procedure
In ARIS Architect, click ARIS > Administration.
Right-click the folder Evaluations > Macros > Automation in the Navigation bar.
Click New > Macro. The Script Wizard opens.
Enter a name and, if necessary, a description for the macro.
Click Next.
Enable the Event option.
Click Select event and enable the event for which the macro is to be run.
Click OK.
Click Next.
Retain the default setting User-defined macro.
Click Next.
Specify the relevant settings and click Finish. Script Editor opens.
Right-click in the script background and select Properties.
Click Imported files. The Imported scripts dialog opens.
Enable the check box for the file automationCommon.js.
Click OK.
Copy the GUID, for example, 607c80d0-2a86-11de-5b2d-001e4f3005ad, to use it when creating the script.
Click OK.
Add the following code to the script:
Automation.runProcess(<sMakroID>);. For <sMakroID>, use the GUID you copied before. Example: Automation.runProcess(607c80d0-2a86-11de-5b2d-001e4f3005ad);
Click Save.
Close the script tab.
The macro is now available and can be run via Evaluate > Start macro (Automation category).