Fig. 2: Actions in the tile view: Administrators can edit the color and icon of an Action via a context menu
Fig. 3: Actions in the list view.
Both the Action tiles and all functions and pages behind them have been completely redesigned.
Worth mentioning are:
Clarity of name and text
Additional information about the Action
Instant language switching with default language
Editability of color and icon in the administrator role
Overall, these aspects allow for a better adaptation to the own company CI.
Clicking on an Action element (tile or list element) opens the new Action view (see Figure 4).
Fig. 4: New Action view with Action list in the left sidebar, input form and Floating Action Button to start the ScriptRunner Action
Fig. 5: In addition to the live reporting pop-up, the new Action Runner shows the execution status of running actions (only available in the admin view)
A new functionality was implemented with the so-called Action Runner, an overview of all running Actions. By clicking on the orange arrow icon at the top right, a sheet opens on the right-hand side (see Figure 5). This sheet displays all running Actions and their execution status. This allows quick reading of the current execution status and is the access point to live reporting for the last started Actions, even if the user switches between different other views or apps and then returns to this overview.
Fig. 6 New report pop-up with access to the execution report, result message and HTML report
After completion of an executed Action, the execution report, the result message and, if applicable, an HTML report are available. The presentation is also role-based. All reports can be viewed via a pop-up from the tile or list (see figure 6), the Action Runner and via the Reports App.
The new ScriptRunner Portal Widget
With the new ScriptRunner Portal widget, ScriptRunner Actions can be embedded in HTML pages, for example in workflow applications, ITSM or ticket systems, in the intranet or web-based business applications. The widget is integrated into the respective HTML page as an iFrame using code snippets (see Figure 7). The embedded Action is called via a standard URL in the following format:
Fig. 7: ScriptRunner Actions can be embedded in HTML pages via iFrame
Using the style sheet provided, the embedded Action can be adapted to the look and feel of the parent application. Figure 8 shows an example of how such an embedding can look like.
Fig. 8: Display and use of an integrated ScriptRunner Action in a web application
The isolated and iFrame-integrated ScriptRunner Action has the same scope of functions as the same Action in the ScriptRunner Portal. Especially the automatically generated input fields with validation as well as their display in different forms and the use of ScriptRunner queries are advantages over a backend integration.
If the Action is started by a user, the widget communicates directly with the ScriptRunner Server without using the ScriptRunner Integration Connectors.
The new Reports App
The functions and the dashboard for the execution reports have also been completely redesigned and combined in the Reports App (Figure 9). The app can be accessed either via the portal entry page or from the respective context, e.g. the Action tile or the Action Runner.
Fig. 9: Entry page of the new Reports App
On the entry page of the Reports App, there are three tiles at the top with the most important Action figures, followed by a bar chart, which displays by default execution time and result of the last 75 Action reports. This element, already known from the old Admin App, has been supplemented by additional filter options. In addition, the scale for execution time now logarithmic, to better visualize very short and very long execution times.
By clicking on the “Reports”, “Successful” or “Failed” tiles, a status filter is applied to the reports. Further filter options can be found in the filter menu on the upper right.
The list of filtered reports is located in the lower area. Clicking on a column or a list entry opens the corresponding Action report. If an HTML report is available for the Action, it can also be retrieved here.
In the first expansion stage, the display in the app is limited to the own reports in the roles help desk and administrator. For the help desk role, the displayed limit was increased from 20 to 75 reports. The functionality will be expanded step by step by adopting frequently used features from the existing Admin Web App.
The new Statistics App
With the ScriptRunner portal it is now possible to bundle additional functionalities in own apps. One of these new app for administrators is the Statistics App, which is intended to enable perspective statistical evaluations of ScriptRunner’s usage activities. With the first version of the portal an efficiency statistic is delivered, which illustrates the time and money savings resulting from the automation (Figure 10).
Fig. 10: Efficiency gains and cost savings through automation visualized in the Statistics App
Each Action can be assigned an efficiency gain in ScriptRunner and the time and cost savings can be visualized, exported or printed. The efficiency gain of an Action is calculated as follows:
Efficiency gain of the action in min. = Duration to execute the task WITHOUT ScriptRunner (classic) – Duration to execute the action WITH ScriptRunner * Number of executions
The efficiency gain determined in this way, shown on the left, can be entered by clicking on the corresponding column in the diagram for the respective action. The default value is 10 minutes each, which is on average a lower mark for the classic execution of administrative tasks.
On the right side of the efficiency statistics, the internal cost rate for one working hour can be entered in different currencies at the top. Then the cost saving of each action is calculated as follows:
Cost saving = efficiency gain (min) / 60 * internal cost rate per working hour.
The total cost saving for all actions is also calculated.
A filter menu in the upper right corner allows the specific selection of actions or action sets for this statistic. All values can be exported as CSV.
The new Update and Messages App
With the Updates & Messages App (Figure 12) we want to facilitate communication about updates, important notes and access to our knowledge resources.
In addition to important ad hoc notices, you will find links to quickly access blog articles, manuals and our knowledge base.
Fig.12: Example for information in the Updates & Messages Apps
The new role-based ScriptRunner Portal, with its modular structure, allows the consistent replacement of the previous web apps with a central portal for all user groups. The changeover to the portal should take place quickly for end users and help desk, since Delegate and Self-Service Web Apps will no longer be available in the subsequent versions of ScriptRunner.
If you want to see the new ScriptRunner Portal in action, it’s worth watching our webinar ScriptRunner 2020R2 – What’s New. ScriptRunner product expert Heiko Brenn will cover the highlights of this version and how they help you with your automation journey.