Abonnieren

UiPath Process Mining

The UiPath Process Mining Guide

Configuring the context bar

Einleitung

Most of the dashboards in TemplateOne have a context bar at the top that displays context information and KPI's. You can configure the elements in the context bar. TemplateOne supports up to 6 elements, that can be configured in the HTML panel. See also HTML Panels.

Sie können mehr als 6 Elemente konfigurieren. Dies kann sich jedoch auf die Lesbarkeit der Kontextinformationen auswirken.

To add a context bar to a new dashboard you can copy the code in the Expression from an existing dashboard and change the configuration.

Configuring the context bar

Die Konfiguration besteht darin, die Anzahl der Elemente und die einzelnen Elemente festzulegen.

Setting the number of elements

Führen Sie diese Schritte aus, um die Anzahl der Elemente in der Kontextleiste zu ändern.

StepAction
1Click on the expression in the Expression field in the General panel to edit the expression.
2Set the integer in the Number_of_KPIs variable to the number of elements you want to display in the context bar.

Siehe Abbildung unten.

716
var Number_of_KPIs          := 3;

📘

Hinweis:

If you enter a higher number than the number of elements that you configure, the elements will show nothing but will take up space in the context bar.

Configuring the individual elements

Die Konfiguration der einzelnen Elemente besteht aus dem Setzen einer Reihe von Variablen.

ElementDescription
KPI_n_title The name of the element or KPI to be displayed on the context bar.
KPI_n_presentThe actual metric computed to be shown for the selected period.
KPI_n_comparisonThe comparison metric that is shown next to the actual metric. Usually, this is a metric containing data outside of the selected period.
KPI_n_higher_is_betterThe value that determines if an increase for the KPI should be considered to be an improvement. This influences the color or the comparison KPI: green - better, red - worse.
KPI_n_actionThe action that makes the element clickable. By default, actions are not used, but the option to have this configured is available.

Siehe Abbildung unten.

1025

Beispiel

// KPI 1
var KPI_1_title             := 'Average throughput time';
var KPI_1_present           := metric(Metric_cases_average_throughput_time, filter(records, activeperiodfilter));
var KPI_1_comparison        := metric(Metric_cases_average_throughput_time, filter(records, not activeperiodfilter));
var KPI_1_higher_is_better  := false;
var KPI_1_action            := Action_analyze_total_case_value;

Erweiterte Konfiguration

Sie können einem neuen Dashboard eine Kontextleiste hinzufügen oder der Kontextleiste zusätzliche KPIs hinzufügen.

Extra period

Make sure that you enable an Extra period if you create another bar on a dashboard or copy one of the existing bars.

Führen Sie diese Schritte aus, um einen zusätzlichen Zeitraum hinzuzufügen.

StepAction
1Open TemplateOne in your developer environment.
2Go to the dashboard for which you want to configure the context bar.
3Click on the context bar.
4Go to the HTML panel tab.
5Click on nonein the Extra period field in the General panel and select the extra period.

Siehe Abbildung unten.

733

Ading additional elements

Wenn Sie mehr als 6 Elemente für die Kontextleiste konfigurieren möchten, müssen Sie den Satz von Elementen kopieren und diese für jedes neue Element anpassen. Sie müssen auch den Code für jedes neue Element kopieren und anpassen und ihn der Liste der KPIs am Ende des Ausdrucks hinzufügen. Siehe Abbildung unten.

1271

📘

Hinweis:

For the Details - Case Overview dashboard the construction of the context bar is slightly different but based on the underlying structure defined for KPIn_title and KPIn_present. Here, the Extra period is also not used, hence it is removed from the template.

Aktualisiert vor 3 Monaten

Configuring the context bar


Auf API-Referenzseiten sind Änderungsvorschläge beschränkt

Sie können nur Änderungen an dem Textkörperinhalt von Markdown, aber nicht an der API-Spezifikation vorschlagen.