Start Process Governance processes automatically

You can use various predefined macros for Process Governance to run processes automatically. The following steps are required to use these macros.

Prerequisites

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 script administrator for this tenant.

Procedure

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

  2. Click Show evaluations Evaluations > Macros > Automation in the Navigation bar. The available macros are displayed in the detail view.

  3. Right-click the relevant macro and select Properties.

  4. Enable the Available to users check box in the Release row.

  5. Click OK.

The macro is available and can be run for a model via Evaluate > Start macro 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

  1. Open the Macro library model (Main group > Libraries > Macros) in the reference database Governance Automation Models.

  2. Insert an object of the Function type with the Detailed task symbol type in the Macro library model.

  3. Draw a supports connection from the Software service operation type object type that is to trigger the relevant macro to the previously inserted function.

  4. Assign this function the generated BPMN diagram for the process that is to be started by the macro.

  5. Click Save 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.