You can use various predefined macros for Process Governance to run processes automatically. The following steps are required to use these macros.
Prerequisites
The process to be started by the macro must be transformed into an executable process.
The software service operation types must be linked with a function by the supports connection.
The executable Process Governance process must be assigned to this function.
Step 1: Enable the 'Available to users' attribute
For these predefined macros, the Available to users attribute is disabled by default. Enable this attribute to make a macro available.
Prerequisite
You are
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 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:
Create databases
Delete databases
Backup databases
Restore databases using backups
Reorganize databases
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:
Define the modeling conventions and adapt the appearance to match the corporate design of the company.
Define the contents of ARIS Method that are available in the database.
Script administrators
Script administrators require the Script administrator function privilege in ARIS Administration.
Script administrators perform the following tasks:
Write report scripts
Delete scripts
Transfer custom or modified scripts of previous ARIS versions
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
In ARIS Architect, click ARIS > Administration.
Click Evaluations > Macros > Automation in the Navigation bar. The available macros are displayed in the detail view.
Right-click the relevant macro and select Properties.
Enable the Available to users check box in the Release row.
Click OK.
The macro is available and can be run for a model via Evaluate > Start macro (Automation category).
Step 2: Generate executable process
Step 3: Link predefined macro with a Process Governance process
For each predefined macro, an object of the Software service operation type type exists in the Macro library in the reference database Governance Automation Models. This database is installed along with ARIS Architect. In each software service operation type, the Script ID attribute is set to the GUID of the relevant macro (attribute type group Application system type > Process automation). This establishes the connection between the predefined macro and the software service operation type. To activate a macro, the corresponding software service operation type must be linked with the Process Governance process.
Procedure
Open the Macro library model (Main group > Libraries > Macros) in the reference database Governance Automation Models.
Insert an object of the Function type with the Detailed task symbol type in the Macro library model.
Draw a supports connection from the Software service operation type object type that is to trigger the relevant macro to the previously inserted function.
Assign this function the generated BPMN diagram for the process that is to be started by the macro.
Click Save.
As soon as you trigger the event that is specified in the macro (Properties > Context > Select event) the macro runs and starts the corresponding Process Governance process.
Example
Once you have triggered the Delete action for a model, the macro Model is to be deleted runs automatically. Before the model is deleted, the macro triggers the linked Process Governance process, which checks whether this is a released model, for example. If yes, the model is deleted.