Process Starter Plugin Panel

This plugin provides a Process Starter form as a panel that allows processes configured on a monitor to be started directly. Using the plugin mechanism, the form panel can be embedded in any panel or tab hook in the BPC, e.g., in a monitor’s detail view or in the admin tab panel.

The plugin loads the process starter configuration of the monitor instance specified in the plugin configuration via moduleId. If a specific process is additionally defined via processKey or if only a single executable process is available, the panel directly displays the input form for that process. Otherwise, users select from all available processes on the monitor via a drop-down menu in the panel.

This plugin embeds the process starter form directly as a panel in a container or tab hook. If you would prefer to place a button (Play button ) in a header bar or toolbar that opens the form in a dialog box, use the Process Starter plugin. A dedicated Process Starter dashboard widget is available for use on a Process Dashboard.

Prerequisites

To start processes in the panel, the following prerequisites must be met:

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

  • Users have the right ` bpcMonitor_startProcess ` (or, on an instance-specific basis, ` bpcMonitor_startProcess_<MODUL_ID>`), as well as any organizations, roles, or rights that may be restricted to the process.

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

Setting Up the Plugin

In the administration area, you must always assign the plugin (monitor_process_starter_panel, display name: Monitor Process Starter - Panel) to the target module in whose interface the form panel is to appear; see Plugin Configuration. You then specify which monitor the form refers to in the plugin’s JSON configuration via moduleId.

Typical use cases include:

Process Monitoring

In the Process Monitoring module via the Detail View hook, to display the Process Starter form as a tab in a monitor’s detail view.

Core Services and Other Modules

In panel or tab hooks of other modules, e.g., in the Core Services module via the Admin Tabpanel hook.

Configuration

Use the plugin’s JSON configuration to specify which monitor the panel refers to and how it is displayed:

moduleId (Required field)

The component ID of the monitor instance on which the Process Starter is configured.

processKey (optional)

The ID (key) of a specific process from the Process Starter configuration of the specified monitor (processes with "hidden": true are ignored). If ` processKey ` is set, the process selection is hidden and the form for that process is displayed directly. If no ` processKey ` is specified, users can select from the list of available processes directly in the panel (provided more than one process is available).

cmpConfiguration (optional)

Additional configuration parameters for the panel component; see cmpConfiguration. This is useful, for example, to assign a custom tab title when displaying within a tab panel via title (by default, the panel uses the title Prozess starten - <Prozessname> as well as the iconCls or x-fal fa-play configured for the selected process).

Example: Panel with a preselected process and a custom tab title “
{
    "moduleId": "MONITOR-ID",
    "processKey": "A-PROCESSKEY-FROM-PROCESS-STARTER-CONFIG",
    "cmpConfiguration": {
        "title": "Prozess starten"
    }
}
” Example: Minimal configuration (process selection in the panel)
{
    "moduleId": "MONITOR-ID"
}

Keywords: