WORKLOAD AUTOMATION COMMUNITY
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
    • IWA 9.5 Roadshows
  • About
  • Contact
  • What's new

Easily open an incident in ServiceNow using IBM Workload Scheduler

6/23/2017

2 Comments

 
Picture
When a problem occurs in a critical business process, the main priority is to get it fixed ASAP to ensure business continuity. You want results, not excuses! The service desk operator must be alerted so that the problem can be resolved timely avoiding serious impact on the entire workload. This usually means dealing with disparate applications and systems running in heterogeneous environments.

Standard email notification could work, but what if you could expedite error detection and resolution of failures by automating the incident creation followed by the application of the right recovery action based on the error.
​

Workload automation tools can usually notify operators via email or through the integration with incident management software.
In addition to the integration with IBM SmartCloud® Control Desk, IBM® Workload Scheduler version 9.4 integrates with ServiceNow for opening incidents directly in the ServiceNow interface.   
The incident in ServiceNow can be triggered when any of the following Workload Scheduler events occur:
  • A job ends in error.
  • A job or job stream status changes.
  • A job or job stream approaches its latest start time.
  • A job or job stream approaches its deadline.
  • A workstation becomes unlinked.
  • A Workload Scheduler process goes down or when a message queue is growing.
  • Any custom-defined event.
…to name a few. Once the incident is opened, you can track the entire lifecycle of the incident from the Dynamic Workload Console. The integration with ServiceNow is easy, scalable, and customizable.
 
Easy-to-implement solution 
To implement this solution, just create an event rule using the Dynamic Workload Console. Define the event and select ServiceNow-> Open Incident as the action: ​
Picture
Figure 1: Define the event rule that triggers the incident to be opened

In Figure 1, the event that triggers the Open Incident action is: “For any job in Error on the Workstation with prefix CB, open an incident”.

In the Properties panel for the action, you need to define a few mandatory fields:
  • Short Description to provide a summary of the incident
  • Priority to set the incident priority

Optionally, you can add additional information, such as Description or Assignment Group to assign the incident to a specific group.
​
For the summary and the description, you can leverage the variables of the event that you have defined. In this way, Workload Scheduler automatically resolves the variables, populating the incident information accordingly. 
Picture
Figure 2: Details of the “Open incident” information

In Figure 2, the server (Service Now Url), the user, and the password have also been defined. You can specify the information about the ServiceNow environment in the panel, or you can define them at a global level, retrieving the properties with the “optman” command line:

 servicenowUrl / nu = http://localhost:8080/api/now/table/incident
servicenowUserName / nn =
servicenowUserPassword / np = **** 

​Monitoring the incident
From the Dynamic Workload Console, you can use the “Operator message” portlet to view all of the information about the ticket.

Picture
Figure 3: Monitoring the incident.
 
Customizable Solution
Do you need to add additional parameters, for example the incident category?

Don’t worry! With this integration you can also define some customizable parameters.
​
For example, to define the incident category, add a “Custom parameter 1” and include the information using the “key=value” syntax.
Picture
Figure 3: Define an incident category using the “Custom parameter 1”.

​You can add up to ten “Custom Parameters”.
 
An example of an event rule definition
Finally, you can create a more complete event rule, like the one in the following example:
Picture
Figure 4. An example of an event rule with several “Custom parameters”
 
Conclusion
You now know how to stay in control of your workload. Use the integration between IBM Workload Scheduler and ServiceNow to easily trigger the opening of an incident. Then, you can easily track the entire lifecycle of the incident from the Dynamic Workload Console. Try it now!
Feel free to contact Workload Scheduler engineers for information about this feature and many others, and follow us on our Workload Automation Community site.
 
Authors: 
Picture
Liliana Pasceri
Liliana is currently technical leader for IBM Workload Scheduler. She has extensive experience in the product after several years as a developer and as a L3 team leader for IBM Workload Automation.
Get in touch with Liliana via twitter @LilianaPasceri 

Picture
Marina Fabbri
Marina works as an Information Developer in the Workload Automation team. In her role, she also creates marketing and how-to videos that demonstrate the new features of the Workload Automation product suite.
Get in touch with Marina via twitter @marinafabbri_rm


2 Comments
Steven
12/6/2017 03:03:24 pm

Is there a way to open an incident ticket with 9.4 workload passing job name to a table in Service Now to designate the SN Assignment group? IE: Assign incident ticket to certain group based on which job it is?

Reply
Paola link
8/7/2019 03:49:14 pm

Buongiorno abbiamo fatto un test per aprire gli incident in Snow da iBM workload. Entrambe gli applicati sono da noi utilizzati in versione a servizio, ovvero non sono installati presso il nostro data center.

Seguendo le indicazioni abbiamo di fatto clonato la action che oggi invia una mail a fronte di un abend.

Siamo bloccati in quanto la action va in errore senza mostrare dettagli nell’errore. Avete indicazioni da fornirci per avanzare nell’analisi del problema sottostante?

Reply

Your comment will be posted after it is approved.


Leave a Reply.

    Archives

    March 2023
    February 2023
    January 2023
    December 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    January 2020
    December 2019
    November 2019
    October 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017

    Categories

    All
    Analytics
    Azure
    Business Applications
    Cloud
    Data Storage
    DevOps
    Monitoring & Reporting

    RSS Feed

www.hcltechsw.com
About HCL Software 
HCL Software is a division of HCL Technologies (HCL) that operates its primary software business. It develops, markets, sells, and supports over 20 product families in the areas of DevSecOps, Automation, Digital Solutions, Data Management, Marketing and Commerce, and Mainframes. HCL Software has offices and labs around the world to serve thousands of customers. Its mission is to drive ultimate customer success with their IT investments through relentless innovation of its products. For more information, To know more  please visit www.hcltechsw.com.  Copyright © 2019 HCL Technologies Limited
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
    • IWA 9.5 Roadshows
  • About
  • Contact
  • What's new