Generate new macros

You can generate new macros based on the predefined macros for Process Governance.

Prerequisite

You are script administrator for this tenant.

The administrator roles described in the following are defined via various privileges at the server and database level. Depending on the roles assigned to the administrators they can carry out specific functions.

superuser

The user superuser is created automatically. By default, this user is assigned the User management, License management, and Configuration administrator function privileges. This user can also enable this function privilege for other users. Users of the superuser type do not use up a license. They manage the system administration, but cannot use ARIS products due to license restrictions. The default password is superuser. You should change the default password to prevent unauthorized access. The password of the superuser is very important, as it is the only user who cannot be deleted. You can change all user data except for the user name. The superuser can recreate the other default users (system, arisservice, guest) if they were deleted.

system

The system user system assumes the administrator role of the system administrator and has all function and access privileges in all databases of a tenant. Authorized persons can use this emergency user to log in to any database, even if you are using an external system, such as LDAP, for authentication.

The name system cannot be changed. The System user check box for this user (Function privileges properties page in ARIS Architect) cannot be disabled either. You should immediately change the password manager to prevent unauthorized access.

To avoid problems, you should create additional system users. Having more than one system user can avoid problems, for example, if one system user has forgotten his password. If you forgot the passwords of all your system users, the full range of functions is no longer available and full data access is no longer possible.

The following administrator roles are defined:

Database administrators

Database administrators require the Database administrator function privilege in ARIS Administration. Users with this role have all function and access privileges and can edit data of all databases of the client.

Database administrators perform the following tasks at the server level:

Users with defined function privileges can perform additional actions at the database level.

Configuration administrators

A Configuration administrator requires the Configuration administrator function privilege in ARIS Administration.

They perform the following tasks:

Script administrators

Script administrators require the Script administrator function privilege in ARIS Administration.

Script administrators perform the following tasks:

Analysis publisher

Analysis publishers require the function privilege of the same name in ARIS Administration.

Analysis publishers perform the following actions:

Analysis administrators

Analysis administrators require the function privilege of the same name in ARIS Administration.

Analysis administrators perform the following actions:

Procedure

  1. In ARIS Architect, click ARIS > Show Administration Administration.

  2. Right-click the folder Evaluations > Macros > Automation in the Show evaluations Navigation bar.

  3. Click New > Macro Macro. The Script Wizard opens.

  4. Enter a name and, if necessary, a description for the macro.

  5. Click Next.

  6. Enable the Event option.

  7. Click Select event and enable the event for which the macro is to be run.

  8. Click OK.

  9. Click Next.

  10. Retain the default setting User-defined macro.

  11. Click Next.

  12. Specify the relevant settings and click Finish. Script Editor opens.

  13. Right-click in the script background and select Properties.

  14. Click Advanced. The Advanced options dialog opens.

  15. Enable the check box for the file automationCommon.js.

  16. Click OK.

  17. Copy the GUID, for example, 607c80d0-2a86-11de-5b2d-001e4f3005ad, to use it when creating the script.

  18. Click OK.

  19. 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);

  20. Click Save Save.

  21. Close the script tab.

The macro is now available and can be run via Evaluate > Start macro Start macro (Automation category).