What is the Live Check for ServiceNow?
The live check is implemented as an additional Update Set which must be installed on an instance where the Quality Clouds ServiceNow Store application is already installed and configured. After the Update Set has been added, the "Quality Clouds Live Check" button will automatically appear on all of the Configuration Element definition forms. When the button is clicked, the definition of the Configuration Element is sent to the Quality Clouds API server, which executes the rules and returns a list of issues that have been detected. These issues are displayed in a Related List associated with the latest version of the Configuration Element.
Running the Live Checks
In order to run a live check, a developer needs to access the Configuration Element definition form, whether in Studio, or in the main ServiceNow interface. In the screenshot below the Business Rule definition form is shown, with the "Quality Clouds Live Check" button highlighted in red. Once the button is clicked, a message appears confirming that the definition of the Configuration Element has been sent to the Quality Clouds API. The form can be reloaded within a matter of seconds, and any detected issues will be displayed in the related list "Quality Clouds Live Checks issues".
If no rows appears on the related list, this means that the scan is still running. In this case, it is necessary to wait a few more seconds and reload the form again. In the event that a scan returns without any detected issues, one row will display in the related list with Severity INFO, and the text "Quality Clouds online checks completed. No issues found". If this is the case then the code complies with all of the best practices.
Issues detected with the Live Check functionality do not impact the results of the regular scans and do not appear on the dashboards.
Running the Live Check on Upate Sets
As of version 3.0 of the Quality Clouds for ServiceNow application, it is also possible to run the Live check on all the Configuration Elements which make up an Update Set. This can be done regardless of the state which the Update Set is on. It can also be performed on multiple Update Sets at the same time.
To run the Live check on a single update set, access its definition, and then click on the "Quality Clouds Live Check" button, just as you would to scan a single Configuration Element (see image below). As for individual Configuration Elements, the list of issues is returned in the related list "Quality Clouds Live Checks issues". Also, if no issues are detected, one row will display in the related list with Severity INFO, and the text "Quality Clouds online checks completed. No issues found".
To run the Live check on multiple update sets, access the list of Update Sets, select as many as you want to scan, and then select the "Quality Clouds Live Check List" from the drop down actions menu (see image below). The list of issues will be available in the related list for each update set once the checks complete.