Post Post

yaml
type: "io.kestra.plugin.servicenow.Post"

Insert data inside a ServiceNow table.

Examples

Create an incident.

yaml
id: "post"
type: "io.kestra.plugin.servicenow.Post"
domain: "[[YOUR_SNOW_DOMAIN]]"
username: "[[YOUR_SNOW_CLIENTID]]"
password: "[[YOUR_SNOW_CLIENTID]]"
clientId: "[[YOUR_SNOW_CLIENTID]]"
clientSecret: "[[YOUR_SNOW_CLIENTID]]"
table: incident
data:
  short_description: API Create Incident...
  requester_id: f8266e2adb16fb00fa638a3a489619d2
  requester_for_id: a7ec77cbdefac300d322d182689619dc
  product_id: 01a2e3c1db15f340d329d18c689ed922

Properties

clientId

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

ServiceNow client ID.

clientSecret

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

ServiceNow client secret.

data

  • Type: object
  • Dynamic: ✔️
  • Required: ✔️

The data to insert.

domain

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

ServiceNow domain.

Will be used to generate the url: https://[[DOMAIN]].service-now.com/

password

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

ServiceNow password.

table

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

ServiceNow table.

username

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

ServiceNow username.

headers

  • Type: object
  • SubType: string
  • Dynamic: ✔️
  • Required:

The headers to pass to the request

Outputs

result

  • Type: object
  • Dynamic:
  • Required:

The result data..