Insert data inside a ServiceNow table.
type: "io.kestra.plugin.servicenow.Post"
Create an incident using BasicAuth.
id: servicenow_post
namespace: company.team
tasks:
- id: post
type: io.kestra.plugin.servicenow.Post
domain: "snow_domain"
username: "snow_username"
password: "snow_password"
table: incident
data:
short_description: "API Create Incident..."
requester_id: f8266e2adb16fb00fa638a3a489619d2
requester_for_id: a7ec77cbdefac300d322d182689619dc
product_id: 01a2e3c1db15f340d329d18c689ed922
Create an incident using OAuth.
id: servicenow_post
namespace: company.team
tasks:
- id: post
type: io.kestra.plugin.servicenow.Post
domain: "snow_domain"
username: "snow_username"
password: "snow_password"
clientId: "my_registered_kestra_application_client_id"
clientSecret: "my_registered_kestra_application_client_secret"
table: incident
data:
short_description: "API Create Incident..."
requester_id: f8266e2adb16fb00fa638a3a489619d2
requester_for_id: a7ec77cbdefac300d322d182689619dc
product_id: 01a2e3c1db15f340d329d18c689ed922
YES
The data to insert.
YES
ServiceNow domain.
Will be used to generate the URL: https://[[DOMAIN]].service-now.com/
YES
ServiceNow password.
to be used with 'username'
YES
ServiceNow table.
YES
ServiceNow username.
to be used with 'password' for a BasicAuth authentication
YES
ServiceNow client ID.
to be used with 'clientSecret', 'username' and 'password' for a OAuth authentication
YES
ServiceNow client secret.
to be used with 'clientId'
YES
The headers to pass to the request
NO
The HTTP client configuration.
The result data..
YES
duration
The time allowed to establish a connection to the server before failing.
YES
PT5M
duration
The time allowed for a read connection to remain idle before closing it.
YES
The password for HTTP basic authentication.
YES
The username for HTTP basic authentication.
YES
false
If true, allow a failed response code (response code >= 400)
NO
The authentification to use.
NO
The password for HTTP basic authentication.
NO
The username for HTTP basic authentication.
NO
duration
The time allowed to establish a connection to the server before failing.
NO
duration
The time an idle connection can remain in the client's connection pool before being closed.
YES
UTF-8
The default charset for the request.
YES
true
Whether redirects should be followed automatically.
NO
ALL
TRACE
DEBUG
INFO
WARN
ERROR
OFF
NOT_SPECIFIED
The log level for the HTTP client.
NO
REQUEST_HEADERS
REQUEST_BODY
RESPONSE_HEADERS
RESPONSE_BODY
The enabled log.
NO
The maximum content length of the response.
NO
The proxy configuration.
NO
The address of the proxy server.
NO
The password for proxy authentication.
NO
The port of the proxy server.
NO
DIRECT
HTTP
SOCKS
The type of proxy to use.
NO
The username for proxy authentication.
NO
duration
The time allowed for a read connection to remain idle before closing it.
NO
duration
The maximum time allowed for reading data from the server before failing.
NO
The SSL request options
NO
The timeout configuration.
YES
The address of the proxy server.
YES
The password for proxy authentication.
YES
The port of the proxy server.
YES
The username for proxy authentication.
YES
Whether to disable checking of the remote SSL certificate.
Only applies if no trust store is configured. Note: This makes the SSL connection insecure and should only be used for testing. If you are using a self-signed certificate, set up a trust store instead.
YES
The token for bearer token authentication.