Process Starter Plugin

This plugin provides a button that allows Process Starters configured on a monitor to be launched from anywhere in BPC. Using the plugin mechanism, the button can be placed not only within the Monitor itself but also in other modules, such as in the header of a Process Dashboard or globally in the BPC toolbar.

Clicking the button opens the Process Starter window for the Monitor instance specified in the plugin configuration via moduleId. If a specific process is additionally specified there via key, or if only a single executable process is available, the input form for that process opens directly. Otherwise, users select from the monitor’s available processes in the open window.

This plugin integrates the Process Starter as a button (by default with the play icon ) in the header or a toolbar. If you would like to display the Process Starter form directly on the interface instead, use the Process Starter widget in a Process Dashboard or the Process Starter Plugin Panel in a panel hook.

Prerequisites

For the button to be displayed and processes to be started, the following prerequisites must be met:

  • A monitor instance exists for which the setting “ function_processStart ” is enabled and at least one visible process (without “ "hidden": true ”) is configured under “ function_processStartConfig ”; see Process Starter.

  • Users must have the “bpcMonitor_startProcess” permission (or, on an instance-specific basis, “ bpcMonitor_startProcess_<MODUL_ID> ”) as well as any organizations, roles, or permissions restricted to the process.

  • If the target system is accessed via a backend connection, users also require the loadModule_backendconnection permission.

If no executable processes are available for the logged-in user on the referenced monitor instance, or if the user lacks the necessary permission, the button is automatically hidden.

Setting Up the Plugin

Although the plugin (monitor_process_starter, display name: Monitor Process Starter - Button) is provided by the Process Monitoring module, it is not limited to the Monitor. In the administration area, you always assign the plugin to the target module in whose interface the button should appear; see Plugin Configuration.

Typical use cases include:

Process Dashboard

In the Process Dashboard module, use the “Dashboard Toolbar Left” or “Dashboard Toolbar Right” hooks to start processes via a button in the header of a dashboard.

Core Services (global)

In the Core Services module, use the BPC Toolbar Left, BPC Toolbar Right, or Module Header hooks so that the button is available across modules in the header area.

Process Monitoring

In the Process Monitoring module, use the monitor hooks (e.g., Monitor Toolbar Left, Monitor Toolbar Right, or Monitor Toolbar in the Module Header) to, for example, highlight a single process as a separate button or display processes from another monitor.

To integrate the button into the header of a Process Dashboard, for example, proceed as follows:

  1. In the administration area, navigate to the tab for the target module, e.g., Process Dashboard.

  2. Open the Plugins section on the left.

  3. Click the plus icon to create a new assignment.

  4. Under Plugin, select the entry Monitor Process Starter - Button (monitor_process_starter).

  5. Under Hook, select the location where the button should appear, e.g., Dashboard Toolbar (right).

  6. Under Component, select specific instances of the target module (e.g., a single dashboard) if necessary, if you do not want the button to appear in all instances.

  7. Under Configuration as JSON, enter at least the moduleId of the monitor to which the plugin refers; see Configuration.

  8. Click Save.

The button appears at the selected location and, when clicked, opens the process starter for the specified monitor.

Configuration

Using the plugin’s JSON configuration, you specify which monitor the button refers to and how it is displayed:

moduleId (Required field)

The component ID of the monitor instance whose configured process starters are made available via the button.

key (optional)

The ID (key) of a specific process from the process starter configuration of the specified monitor (processes with "hidden": true are ignored). If a valid key is set, this process is preselected when the window is opened. If no key is specified, users select from all available processes of the monitor in the window (provided more than one process is available).

iconCls (optional)

The CSS class for the button icon, e.g., "x-fal fa-play". If not specified, the Play icon (x-fal fa-play) is displayed by default.

text (optional)

The button label as plain text or as a language key. By default, no text is displayed.

wrapperConfiguration (optional)

Additional configuration parameters for the plugin’s surrounding container, e.g., title or iconCls, if the hook displays plugins as tabs.

Example: Button with a preselected process, icon, and text
{
    "moduleId": "MONITOR-ID",
    "key": "PROZESS_ID",
    "iconCls": "x-fal fa-play",
    "text": "BUTTON-TEXT"
}
Example: Minimal configuration (play button for all processes in the monitor)
{
    "moduleId": "MONITOR-ID"
}

Keywords: