npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@itentialopensource/servicenow-create-ritm

v0.2.6-2021.2.2

Published

Order a Service Catalog item to create a Request Item (RITM)

Downloads

27

Readme

ServiceNow Order Service Catalog Item (Create RITM)

Table of Contents

Overview

This Pre-built integrates with the ServiceNow Open Source Adapter to create a Request and a Request Item (RITM) using the Service Catalog API.

Operations Manager and JSON-Form

This Pre-Built has the Operations Manager Automation ServiceNow Create RITM (Service Catalog Order) that calls the workflow ServiceNow Create RITM (Service Catalog Order) - Automation Catalog. The Automation uses a JSON-Form to specify the sys_id of the Operations Manager item, as well as any variables needed to create the RITM. The workflow the Automation Item calls queries data from the formData job variable.

Main Workflow

The main workflow in this pre-built is the workflow ServiceNow Create RITM (Service Catalog Order, which takes in several input variables required to create a change.

Estimated Run Time: 30 seconds

Error Handling

If any task in the workflow fails to perform its expected function, the taskError job variable will hold the error message. If you are using any workflow in this pre-built as a childJob, you can use the eval task in Workflow Engine to check if the value of taskError is empty. If it is not empty, then the ServiceNow change that was created encountered an error.

Installation Prerequisites

Users must satisfy the following pre-requisites:

Requirements

This pre-built requires the following:

  • A ServiceNow Open Source Adapter.
  • A ServiceNow account that has access to order a Service Catalog Item.
  • A ServiceNow account that has read access from the sc_request and sc_req_item tables.

Features

The main benefits and features of the pre-built are outlined below.

  • Place a Service Catalog order to create a Request and a Request Item (RITM).
  • Query the RITM Number after an order is placed and a Request is created.
  • A workflow to retrieve variables from a Service Catalog Item.

Future Enhancements

The following is planned for a future release of this pre-built:

  • Dynamically create a form using the variables from a Service Catalog Item.

How to Install

To install the pre-built:

  • Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Requirements section in order to install the pre-built. If you do not currently have Admin Essentials installed on your server, please download the installer from your Nexus repository. Refer to the install instructions included in the Admin Essentials README.
  • The pre-built can be installed from within Admin Essentials. Simply search for the name of your desired pre-built and click the install button.

How to Run

Use the following to run the pre-built:

  • You must first retrieve the name of the variables required to create the Request. Go to ServiceNow and locate the name of the Request Item you wish to order.

  • Run the workflow ServiceNow Display RITM variables and input the RITM name.

  • Run the workflow ServiceNow Create RITM (Service Catalog Order) with the name of your variables and SYSID.

Example

  {
   "sysIdOfServiceCatalogItem": "186d917a6fab7980575967ddbb3ee4f2",
   "ritmVariables": {"new_email": "[email protected]"}
  }

Additional Information

Please use your Itential Customer Success account if you need support when using this pre-built.