- Overview
- Adobe Sign
- Alteryx
- Amazon Comprehend
- Amazon Connect
- Amazon Rekognition
- Amazon Textract
- Box
- Release notes
- About the Box activity package
- Fix XAML After Package Update
- Project compatibility
- Setup
- Technical references
- Box Scope
- Commit Session
- Create File Version Session
- Create Upload Session
- Upload Part
- Delete Old Version
- Get Versions
- Promote Version
- Upload File Version
- Copy File
- Delete File
- Download File
- Get File Comments
- Get File Info
- Get File Info Details
- Get File Lock Info
- Lock File
- Move File
- Unlock File
- Upload File
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder Info
- Get Folder Items
- Rename Folder
- Search For Content
- Execute Method
- Cognitive
- DocuSign
- Release notes
- About the DocuSign activity package
- Project compatibility
- Setup
- DocuSign Scope
- Invoke DocuSign Operation
- Create Envelope
- Create Envelope And Send
- Create Envelope From Template
- Create Envelope Recipients
- Get Document
- Get Documents
- Get Envelope
- Get Form Data
- Send Envelope
- Update Envelope
- List Attachments
- List Custom Fields
- List Documents
- List Envelope Status Changes
- List Recipients
- Create Bulk Send List
- Create Bulk Send Request
- Get Bulk Send List
- Get Bulk Send Lists
- Create Template Custom Fields
- Create Template Recipients
- Get Template
- List Templates
- Google Vision
- Jira
- Release notes
- About the Jira activity package
- Project compatibility
- Setup
- Jira Scope
- Execute Method
- Add Attachment
- Delete Attachment
- Download Attachment
- Get Attachments
- Add Comment
- Delete Comment
- Get Comments
- Create Component
- Delete Component
- Get Components
- Search Dashboards
- Create Filter
- Get Filters
- Create Issue Link
- Delete Issue Link
- Get Issue Link Types
- Get Issue Links
- Add Watcher
- Assign Issue
- Clone Issue
- Create Issue
- Delete Issue
- Get Issue
- Get Watchers
- Remove Watcher
- Search Issues Using JQL
- Transition Issue
- Update Issue
- Create Project
- Delete Project
- Get Project Types
- Get Projects
- Update Project
- Get Transitions
- Create User
- Delete User
- Find Users
- Marketo
- Microsoft Dynamics
- Microsoft Dynamics Finance and Operations
- Microsoft Translator
- Microsoft Vision
- Oracle Integration Cloud
- Oracle NetSuite
- Salesforce
- Release notes
- About the Salesforce activity package
- Project compatibility
- Setup
- Quickstart
- Salesforce Application Scope
- Create Bulk API Job
- Get Bulk API Job
- Get Bulk API Job Results
- Start or Abort Bulk API Job
- Assign File
- Download File
- Upload File
- Composite Request
- Delete Record
- Get List View Records
- Get Record
- Insert Record
- Update Record
- Upsert Record
- Execute Report
- Execute SOQL
- Format Column Names
- Format Labels And Values
- Lightning REST API Request
- Search
- SAP BAPI
- ServiceNow
- Slack
- Smartsheet
- Release notes
- About the Smartsheet activity package
- Project compatibility
- Setup
- Technical references
- Quickstart: Working With Rows
- Smartsheet Application Scope
- Attach File
- Attach URL
- Delete Attachment
- Get Attachment
- List Attachments
- Add Comment
- Delete Comment
- Get Comment
- List Discussions
- Copy Folder
- Create Folder
- Delete Folder
- Get Folder
- List Folders
- Add Group Members
- Get Group
- List Groups
- Remove Group Member
- Get Report
- List Reports
- Add Rows
- Copy Rows
- Create Discussion on Row
- Delete Rows
- Get Row
- List Rows
- Move Rows
- Update Rows
- Copy Sheet
- Create Sheet
- Create Sheet From Template
- Download Sheet
- Get Sheet
- List Sheets
- Update Sheet
- Add User
- Get User
- List Users
- Remove User
- Copy Workspace
- Create Workspace
- List Workspaces
- Import Sheet From CSV / XLSX
- Invoke Smartsheet Operation
- Search Activity
- Send Via Email
- Share Object
- SuccessFactors
- Tableau
- Twilio
- Workato
- Workday
Setup
To successfully establish a connection and send requests to the ServiceNow API, the ServiceNow Scope activity needs a end point URL for your ServiceNow tenant (Endpoint URL), a user name (UserName) and password (Password). You may optionally retrieve an OAuth access token from your ServiceNow tenant. To retrieve the OAuth access token it needs your ServiceNow instance Client ID, Client Secret, and endpoint URL.
If you choose to use OAuth, you must give the ServiceNow Scope activity the ability to retrieve the OAuth access token and enable the other activities to successfully send requests to the ServiceNow API, you must complete the following steps:
- Setup OAuth.
- Create Credential Assets.
- Build your project.
Complete the Setup OAuth steps in the ServiceNow documentation. While the documented steps are likely the same across all ServiceNow platform regions, it's recommended that you follow the steps for your specific region in case there are differences (e.g., Madrid, New York, etc.)
For reference, below is how we setup OAuth for our examples.
- Sign in to your ServiceNow instance (e.g., https://dev74293.service-now.com/login)
-
Go to System Definitions > Plugins and verify the OAuth plugin Status is set to Active.
-
Go to System OAuth > Application Registry and click New.
-
When asked What kind of OAuth application?, click Create an OAuth API endpoint for external clients.
-
-
Enter a Name for your application (e.g., UiPathQuickstart) and click Submit (if successful, you are redirected back to your Application Registries list).
- In the Application Registries list, find your new application and click on its Name to open the details page.
- Click on the lock icon next to Client Secret to show the value.
-
Take note of the Client Id and Client Secret values (you'll enter these in the ServiceNow Scope activity).
-
If you want this OAuth application to support OAuth2 you must set the Redirect URL to
http://127.0.0.1:10001/authorize/
.Important:Starting with v1.3.8, we added support for local port. The Local Port parameter, available in ServiceNow Application Scope, is optional and configurable. By default, its value is set to10001
(e.g.,http://127.0.0.1:10001/authorize/
). When you configure your OAuth application, set the Redirect URL to:http://127.0.0.1:{LocalPort}/authorize/
. For example, for local port10002
, the Redirect URL would behttp://127.0.0.1:10002/authorize/
. It is not advisable to change the local port in the same project. If the port changes, create a new project or workflow to avoid caching errors, if any.
SecureString
inputs
for your ServiceNow credentials (Password and ClientSecret). To
generate the SecureString
variables, it's recommended that you
create two Credential Assets in your
Orchestrator Tenant.
- Sign in to the Orchestrator Tenant that you want to use for your project.
- In the left-hand navigation, click Assets (this opens the Assets page).
-
Click the + icon to create a new Asset (this opens the Create Asset window).
- Enter a Name and select Credential under Type.
- In the Username field, enter the ClientId of your ServiceNow application registry.
- In the Password field, enter the ClientSecret of your ServiceNow application registry.
-
Click Create.
-
Repeat steps 3-7 to create another Asset for your ServiceNow Username and Password.
-
Create a new automation project.
- Open UiPath Studio.
- Under New Project, click Process (this opens a New Blank Process window).
- Enter a project Name, Location, and Description.
-
Click Create.
-
Install the UiPath.ServiceNowActivities package.
- In the Design ribbon, click Manage Packages (this opens the Manage Packages window).
- Under All Packages, click Beta
- In the Search bar, enter ServiceNow.
-
Click, install and accept the license for the UiPath.ServiceNow.Activities.
- For more information about Uipath Studio packages, see Managing Packages in the Studio Guide.
You're done!
Now that you have completed the setup, you can start adding the ServiceNow activities to your project.
For a hands-on learning experience and to quickly start using the activities, see the Quickstart guide. This guide provides step-by-step instructions to help you create a working sample of the different activities so that you can verify the connection to your ServiceNow instance and get familiar with the input/output properties.
To learn more about the ServiceNow activities (including example property inputs/outputs), see the Activities page for a complete activity list and links to the activity detail pages.