Skip to main content

Create Service Request

Description

Service Now: Create Service Request plugin creates a ServiceNow service request.

tip
  • If the internet connection is down, then the response is blank and workflow is aborted.
  • If the selected Field Name is mapped with any Lookup List on the backend, then it will accept only valid mapped values in the Field Value and the service request is created. But if an invalid value is provided to such Fields then the service request will be created without mapping any value to that field.
  • If an invalid value is provided for the field type Radio button, then the invalid value is mapped as a new option in the radio button checklist.
  • For search lookup fields, such as Users, Contacts, and Location provide the sys_id.

Limitations

Catalog items with additional options available on multiple tabs are not supported.

Configurations

No.Field NameDescription
1Step NameName of the step. This name must be unique within a single workflow.
Connection:
2Grant TypeSelect the type of grant: OAuth 2.0 or Basic Auth.

Data type: String (Mandatory)

Notes:
  • Client ID, Client Secret, and Refresh Token are displayed when Grant Type is OAuth 2.0.
  • Username and Password are displayed when Grant Type is Basic Auth.
3ServiceNow Base URLSpecify the URL of the ServiceNow instance.
Example: https://XXXXXX.service-now.com
4Client IDSpecify the Client ID of the registered application on the ServiceNow instance.

Data type: String (Mandatory)

Note: Available only when the Grant Type is OAuth 2.0.
5Client SecretSpecify the Client Secret of the registered application on the ServiceNow instance.

Data type: String (Mandatory)

Note: Available only when the Grant Type is OAuth 2.0.
5.aCheckbox: Accept Value as variable/static- Leave the checkbox unchecked to accept the client secret value from a previous step using a dropdown.
- Enable the checkbox to enter the value in a text box.
5.bClient Secret (Widget)The client secret is encrypted and not stored in the .psw file. Enter it using the widget. The widget supports both Text (static or environment variable) and Combo (dropdown from previous steps).

This field is mandatory.
6Refresh TokenSpecify the refresh token to obtain a new access token.

Data type: String (Mandatory)

Note: Available only when the Grant Type is OAuth 2.0.
6.aCheckbox: Accept Value as variable/static- Leave the checkbox unchecked to select a refresh token from a previous step using a dropdown.
- Enable the checkbox to enter the value in a text box.
6.bRefresh Token (Widget)The refresh token is encrypted and not stored in the .psw file. Enter it using the widget. The widget supports both Text and Combo formats.

This field is mandatory.
7UsernameSpecify the username to authenticate with the ServiceNow instance.

Data type: String (Mandatory)

Note: Available only when the Grant Type is Basic Auth.
8PasswordSpecify the password to authenticate with the ServiceNow instance.

Note: Available only when the Grant Type is Basic Auth.
8.aCheckbox: Accept Value as variable/static- Leave the checkbox unchecked to select a password from a previous step using a dropdown.
- Enable the checkbox to enter the value in a text box.
8.bPassword (Widget)Enter the password using the widget. It is encrypted and not stored in the .psw file. The widget supports both Text and Combo formats.

This field is mandatory.
9Test Connection (Button)Click to verify the connection. ServiceNow Base URL, Username, and Password fields are mandatory.

Note: This button does not validate values from previous steps, as those values are only accessible during workflow execution. Static values and environment variables are supported. Once validated, the connection fields may be replaced with those from previous steps.

Input Tab

No.Field NameDescription
1Catalog NameSpecify the catalog name in which the catalog item is present.
2GetClick to populate the list of catalog names available on the ServiceNow instance.

Note: This field is populated only if the connection is successfully established. The user must be authorized to access the specified catalog name.
3Category NameSpecify the name of the category in which the catalog item is present.
4GetClick to populate the list of category names on the ServiceNow instance.

Note: This field is populated only if the connection is successfully established.
5Subcategory NameSpecify the subcategory name in which the catalog item is present.
6GetClick to populate the list of subcategory names on the ServiceNow instance.

Note: This field is populated only if the connection is successfully established.
7Catalog Item NameSpecify the catalog item name to create a service request.

Note: Provide the correct hierarchy path of the parent Catalog/Category/Subcategory Name to retrieve the list of all catalog item names.
8GetClick to populate the list of catalog item names on the ServiceNow instance.

Note: This field is populated only if the connection is successfully established.
9Accept Fields As JSONIf selected, the JSON field will be used to create the service request.
If not selected, Table Fields will be used to build the JSON.
10JSONProvide JSON in a valid format to create a service request.

Note: Provide a display name for each key in the JSON.

Sample JSON:
{"Additional software requirements":"Test data", "Adobe Acrobat":true}
Table FieldsNote: If both Static Field Name and Variable Field Name are provided in the same row, the Static Field Name will be considered while building the JSON.
11Variable Field NameAccepts a value from a field or variable.
Data type: String
This field is optional.
12Static Field NameOn clicking the cell in the input table, fields associated with the catalog item will populate.
Data type: String
This field is optional.
13Field ValueValid value for the field associated with the provided field name.

Output Tab

No.Field NameDescription
1Request NumberHolds the request number of a service request created in ServiceNow.
Default value: RequestNumber
2Sys IDHolds the sys ID of a service request created in ServiceNow.
Default value: SysID
3ResultHolds the result of a service request created in ServiceNow.
Default value: Result

Confirmation Buttons

No.Field NameDescription
1OKClick OK to confirm the delete operation.

Note: The user must have appropriate permissions in ServiceNow to create a request.
2CancelClick Cancel to cancel the operation.