/ServiceNow_ServiceCatalog

CloudForms ServiceNow Service Catalog Integration

Primary LanguageRubyApache License 2.0Apache-2.0

CloudForms ServiceNow_ServiceCatalog Project

The purpose of this project is to provide a starting point for integrating Red Hat ® Red Hat CloudForms and ServiceNow’s Service Catalog.

Table of Contents

Overview

overview

How ServiceNow Catalogitems Work

This is what happens behind the scenes when a catalogitem is ordered through ServiceNow and sent to CloudForms.

  1. User logs into ServiceNow.

  2. User opens the catalogitem.

    1. The Catalogitem contains:

      1. A defined workflow.

      2. A list of variable(s).

  3. User orders the Catalogitem.

    1. A Request is created for the Catalogitem.

    2. The Request goes through an internal approval Workflow.

    3. The Request is approved.

    4. The Request Item task:

      1. Passes the Catalogitem variables to the Workflow.

      2. Executes the Workflow specified in the Catalogitem.

      3. The Workflow points to a REST Message which defines:

        1. The REST Endpoint.

        2. The MID Server.

        3. The HTTP Headers.

        4. The JSON payload to be passed to CloudForms.

      4. The REST Message then writes the job to the ServiceNow ecc_queue.

    5. The MID Server frequently queries the ServiceNow ecc_queue message bus for assigned tasks.

    6. The MID Server finds the REST Message.

    7. The MID Server executes the REST Message along with the JSON Payload to CloudForms.

    8. The MID Server then writes the results to the Workflow Activity History for the Request Item.

Contribute

Have an idea and want to help? Fork the repo and Submit a pull request