Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/onify/blueprint-servicenow-create-incident

Onify Blueprint: Create incident in ServiceNow
https://github.com/onify/blueprint-servicenow-create-incident

blueprint bpmn flow integration onify onify-blueprint onify-blueprints rest-api servicenow

Last synced: about 5 hours ago
JSON representation

Onify Blueprint: Create incident in ServiceNow

Awesome Lists containing this project

README

        

![Onify Blueprints](https://files.readme.io/8ba3f14-onify-blueprints-logo.png)

[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
![Test suite](https://github.com/onify/blueprint-servicenow-create-ticket/workflows/Test%20suite/badge.svg)

# Onify Blueprint: Create incident in ServiceNow

This simple little Blueprint shows how to create a incident in ServiceNow using ServiceNow API.

![Onify Blueprint: Create incident in ServiceNow](blueprint.jpg "Blueprint")

## Requirements

* Onify Hub v2
* Onify Flow license
* Camunda Modeler 4.4 or later
* Curl command (maybe)
* ServiceNow (dah :-)

## Included

* 3 x Settings
* 1 x Flows

## Setup

### Settings

* Replace `` with Onify Hub API url
* Replace `` with Onify Hub API auth token
* Replace `` with ServiceNow instance url (https://devXXXXXX.service-now.com)
* Replace `` with ServiceNow instance username
* Replace `` with ServiceNow instance password

#### Add setting for ServiceNow instance

```bash
curl -X POST "/api/v2/admin/config/settings?refresh=false" -H "accept: application/json" -H "authorization: " -H "Content-Type: application/json" -d "{ \"key\": \"_servicenow_url\", \"name\": \"ServiceNow URL\", \"value\": \"/api/now\", \"type\": \"string\", \"tag\": [ \"servicenow\" ], \"category\": \"custom\" }"
```

#### Add setting for ServiceNow username

```bash
curl -X POST "/api/v2/admin/config/settings?refresh=false" -H "accept: application/json" -H "authorization: " -H "Content-Type: application/json" -d "{ \"key\": \"_servicenow_username\", \"name\": \"ServiceNow username\", \"value\": \"\", \"type\": \"string\", \"tag\": [ \"servicenow\" ] }"
```

#### Add setting for ServiceNow password

```bash
curl -X POST "/api/v2/admin/config/settings?refresh=false" -H "accept: application/json" -H "authorization: " -H "Content-Type: application/json" -d " { \"key\": \"_servicenow_password\", \"name\": \"ServiceNow password\", \"value\": \"/api/now\", \"type\": \"password\", \"tag\": [ \"servicenow\" ], \"category\": \"custom\" }"
```

### Flows

#### Deploy

1. Open `create-incident-servicenow.bpmn` in Camunda Modeler
2. Customize the flow (optional)
3. Click `Deploy current diagram` and follow the steps

#### Run

To test and run the flow, click `Start current diagram`

## Support

* Community/forum: https://support.onify.co/discuss
* Documentation: https://support.onify.co/docs
* Support and SLA: https://support.onify.co/docs/get-support

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.