Skip to main content

ServiceNow

Running, approving instructions and viewing responses

Running and approving 1E instructions from the ServiceNow Incidents page.

The 1E ITSM Connect app allows an ITIL user in ServiceNow to investigate and remediate any issue faced by a user on his machine. This can be done by firing appropriate 1E instructions from incident form in ITSM module of ServiceNow. This way, an ITIL user can resolve issues without even visiting the computer or having minimal interaction with the affected user.

The ITIL user can trigger a 1E instruction from two places in 1E ITSM Connect. These are from either:

  1. Native UI or

  2. Agent workspace

Executing instructions in Native UI
How an ITIL user investigates an Incident using 1E

In order to investigate an incident, and run 1E instructions, the ITIL user needs to go to the incident form. To do this:

  1. Open the incident you are working on by navigating to 1E ITSM Connect→Incidents in the application navigator. This displays the Incidents list in the right-hand pane, as shown in the picture.

    Incidents.png
  2. When you open the target incident, investigation and remediation actions using 1E can be accessed from the 1E ITSM Connect tab on the incident form, as shown in the picture. Ensure that the configuration item field contains the end-user's device name to execute the 1E instruction on it.

    Incidents_ITSM_Connect.png
  3. 1E instructions are accessed by an emulation of the 1E explorer home page provided on the 1E ITSM Connect tab.

  4. Any instruction you want to run can be selected in one of two ways, either by clicking an Instruction set link (located immediately above the Instructions field) and selecting the instruction from the popup window, or by using a type-ahead search in the Instructions field box. You can also select an instruction from the available list of instructions by clicking on the lens icon given next to type ahead search.

    Type-ahead search is handy if you remember any word or portion of the instruction title. For example, you can search for instructions that contain the text what process, as shown in the picture.

    Incidents_ITSM_Connect2.png
  5. When you start to type the text a popup will appear showing any matches for the text you've typed. In our example three questions are shown to match the what process text. Select the instruction you want to use from the matching list.

Running instructions

There are two types of instructions: questions and actions. Typically, questions don't require approval and actions do require approval, which is the case for all the 1E Product Packs. You can download these 1E Product Packs from the 1E exchange. If you are developing your own instructions in 1E, we recommend that you stick to the same convention. The general procedure for running questions and actions therefore is different:

Running a question

To execute the selected instruction, click on the RUN button as shown in the picture.

Incidents_Execution.png

The responses for a question can be seen almost instantly after you click the RUN button. Responses are displayed just below the RUN button, as shown in the picture.

Incidents_Response.png

There are two buttons given at the bottom of the responses. These are Attach Response and Load More.

Running an action

Actions that require approval will not be run immediately on clicking the Run Instruction button. Instead, you will see a notification that the instruction has been put into approval workflow, as shown in the picture, and it will only be run once an approver has approved.

Action.png
Approving an action

In our example, there is a ServiceNow user called tachyon approver1 that has been given the x_1e_connect.Tachyon_Approver role. Any user having this role can approve instructions that are pending for approval. To do this, the approver needs to navigate to the 1E ITSM Connect→1E Approvals page. This page displays a list of all the approval requests along with their current status as shown in the picture.

230724847.png

To process an approval request, the approver clicks on the "Requested" link in the State column to display the Approval page for that instruction, as shown in the picture. Here there are a number of options that let the approver Update, Approve, Reject or Delete the approval request.

Note

The configuration Item (CI) owner also has the authority to approve an approval record which can affect any CI they own even if they don't have the x_1e_connect.Tachyon_Approver role.

230724843.png
Viewing responses

Once an action has been approved, it gets run by 1E. A user with the x_1e_connect.Tachyon_Admin or x_1e_connect.Tachyon_User roles can view the instruction responses using the following steps:

  1. Navigate to the Incidents page.

  2. Click the Instruction History link under Related Links to open the history of all the instructions associated with the incident.

    Incidents_Response.png
  3. Doing this opens the Instruction History page for the incident in a new tab of the browser. The picture shows the Instruction History page for the IN0000059 incident.

    Instruction_History.png
  4. Click on the instruction id link in the Number column for the instruction record to open the details of the executed instruction, and then click View Response button to check the responses. The picture shows the details for the instruction TRIN0001012.

    View_Response.png
Associating instruction responses with an incident

The responses to 1E instructions run by a user are saved in ServiceNow so that they can be viewed at a later date by going into the instruction history associated with an incident. However, 1E responses are not kept in ServiceNow permanently. They are purged after a configured duration of time. To avoid losing instruction responses data this way, you can choose to associate the responses with the incident permanently using the Attach Response button that is displayed on the incident form after the 1E responses are displayed on the screen, as can be seen in the picture shown opposite.

Clicking the Attach Response button exports the entire response data for the 1E instruction to an excel spreadsheet and then attaches it to the current incident as a file attachment. The attached spreadsheet contains details of the instruction that was run, its parameters and response details.

230724851.png

All the responses attached to the incident can then be viewed and downloaded for offline viewing from the Manage Attachments link on the incident toolbar.

230724842.png
Executing instructions in Agent Workspace
Investigating an incident using Agent Workspace

An 1E ITSM Connect user with the role x_1e_connect.Tachyon_User can also investigate the incident and run 1E instructions using Agent workspace, as shown in the steps below.

  1. Navigate to Workspace ExperienceAgent Workspace Home in the application navigator. This opens up the Agent Workspace in a new window and the landing Home page is open in the right-hand pane, as shown in the picture below. The Home displays a dashboard summarizing the incidents and your work.

    Home_Agent_Workspace.png
  2. Now click on the hamburger icon given on the left-hand panel to open Lists. A menu of items is displayed on the left hand panel under the Lists. Go to IncidentsAll in the given menu. This displays a list of all the incidents and their details, as shown in the picture below.

    Lists_Agent_Workspace.png
  3. Select the incident from the list which you want to work on and click on the incident. The details of the selected incidents are now displayed in a new tab, as shown in the picture below. Along with incident Details tab it also displays other tabs including 1E Tachyon Explorer, 1E Device info and 1E Quick Fixes. Notice that this incident has impacted 1 item as shown in the Affected CIs list.

    Details_Incidents_AW.png
  4. Click on 1E Tachyon Explorer tab to execute the 1E instruction. The screen displays the following information:

    1. A dropdown list of all the impacted devices as shown in the picture below. By default, all the devices are selected, select the device on which you want to run the 1E instruction. You can either select or deselect a device, by clicking on the device name in the given dropdown list.

      Tachyon_Explorer_AW.png
    2. Refresh button to refresh the 1E Tachyon Explorer data as shown in the picture.

      Refresh_Tachyon_Explorer_AW.png
    3. A list of Recommended Actions that you can select from.

      Recomended_Actions_Tachyon_Explorer_AW.png
    4. A UI with instruction set names, a test box and a RUN button is displayed. When you start to type in the text box, it shows you all possible suggestions.

      Run1_AW.png

      You can select instruction(s) from either these suggestions, Recommended Actions list, or instruction set pop-up window.

      When you click on the instruction set name, it opens up a pop-up window with the list of instructions those are part of the selected instruction set.

      Instruction_set_AW.png
    5. There are two links given under the Related links:

      1. Tachyon Explorer: When you click on this link, it will open Tachyon Explorer in a separate window. It will show an alert message about the missing information, if Tachyon Explorer URL property is not configured in 1E CoreApp Configuration properly.

      2. Instruction History: When you click on this link, it will open Instruction History page in a new window, including the triggered instruction(s) details related to the current incident.

    6. A message View instructions that are still in progress. This message is displayed when there is already an instruction running or in progress for the current incident.

  5. Select an instruction and fill the required parameters if there are any. Click on the RUN button to execute the instruction on 1E.

    Run2_AW.png
  6. The responses received from 1E are displayed in a table as shown below.

    Responses_AW.png
  7. You can attach these responses using the Attach Response tab given at the bottom to the selected incident, i.e. from where the instruction has been triggered. The Load More tab helps you to load more responses for the selected device. You can also do a search in the search box available.

  8. In case there is an approval required to execute the triggered instruction, then it will follow the approval workflow. The instruction is submitted for review and upon receiving an approval only the instruction will be executed on 1E. User will be able to see the responses of this instruction on Instruction History page.

1E Device Info

To see the 1E Device Info in Agent Workspace, follow the below steps:

  1. Navigate to Workspace ExperienceAgent Workspace Home in the application navigator. This opens up the Agent Workspace in a new window and the landing Home page is open in the right-hand pane, as shown in the picture below. The Home displays a dashboard summarizing the incidents and your work.

    Home_Agent_Workspace.png
  2. Now click on the hamburger icon given on the left-hand panel to open Lists. A menu of items is displayed on the left hand panel under the Lists. Go to IncidentsAll in the given menu. This displays a list of all the incidents and their details, as shown in the picture below.

    Lists_Agent_Workspace.png
  3. Select the incident from the list which you want to work on and click on the incident. The details of the selected incidents are now displayed in a new tab, as shown in the picture below. Along with incident Details tab it also displays other tabs including 1E Tachyon Explorer 1E Device info and 1E Quick Fixes. Notice that this incident has impacted 1 item as shown in the Affected CIs list.

    Details_Incidents_AW.png
  4. Click on the 1E Device Info tab. It will display the list of all the devices those have Fqdn and are from valid CI class as shown in the picture below.

    Device_Info_AW.png

    Click on any of the fields to see more details about the selected device.

    Device_Info1_AW.png

    A device from the list of devices will be highlighted in red when either the Fqdn of this device is incorrect or 1E is unable to identify it, which means that there is some error while getting the data for this device from 1E.

    An example shown below displays the message that is displayed for invalid devices for which data cannot be retrieved from 1E.

    Device_missing_AW.png
  5. There is also a search box given in order to search for a specific device from the list. There is a refresh button on the right-hand side of the search box that allows you to refresh the data in the list.

    Device_Info_AW.png

    The information icon Info_icon.png given against each device will navigate you to that respective device record.

1E Quick Fixes

1E Quick Fixes allows you to run instructions of type Questions instantly on the selected device(s).

You need to first create quick fix categories manually from the Quick Fix Categories module and map them to the instructions from Instruction Definitions page.

QuickFix_Categories_AW.png

To see the 1E Quick Fixes in Agent Workspace, follow the below steps:

  1. Navigate to Workspace ExperienceAgent Workspace Home in the application navigator. This opens up the Agent Workspace in a new window and the landing Home page is open in the right-hand pane, as shown in the picture below. The Home displays a dashboard summarizing the incidents and your work.

    Home_Agent_Workspace.png
  2. Now click on the hamburger icon given on the left-hand panel to open Lists. A menu of items is displayed on the left hand panel under the Lists. Go to IncidentsAll in the given menu. This displays a list of all the incidents and their details, as shown in the picture below.

    Lists_Agent_Workspace.png
  3. Select the incident from the list which you want to work on and click on the incident. The details of the selected incidents are now displayed in a new tab, as shown in the picture below. Along with incident Details tab it also displays other tabs including 1E Tachyon Explorer 1E Device info and 1E Quick Fixes. Notice that this incident has impacted 1 item as shown in the Affected CIs list.

    Details_Incidents_AW.png
  4. Click on the 1E Quick Fixes tab. It will display the list of instructions that can be run, as shown in the picture below.

    Quick_Fixes_AW.png
  5. Select the device(s) from the dropdown on which you want to run the instruction and click on Fix button to run the instruction.

    Quick_Fix_Run_AW.png

    You can also check the status of the quick fix executed by clicking on the Check Status link that pops up after 5 seconds of the instruction execution. It will take you to the Instruction History table as shown below.

    QuickFix_Responses.png

    Now verify the status of the latest triggered instruction by opening the respective record. Click on View Responses button to see the 1E responses received. You can also attach the responses to the selected incident by clicking on the Attach Response button.

    Quick_Fix_Instruction.png