ServiceNowConnector en
ServiceNowConnector en
ServiceNow Connector
Informatica Data Integration - Free & PayGo ServiceNow Connector
April 2023
© Copyright Informatica LLC 2018, 2023
This software and documentation are provided only under a separate license agreement containing restrictions on use and disclosure. No part of this document may be
reproduced or transmitted in any form, by any means (electronic, photocopying, recording or otherwise) without prior consent of Informatica LLC.
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial
computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such,
the use, duplication, disclosure, modification, and adaptation is subject to the restrictions and license terms set forth in the applicable Government contract, and, to the
extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License.
Informatica, the Informatica logo, Informatica Cloud, and PowerCenter are trademarks or registered trademarks of Informatica LLC in the United States and many
jurisdictions throughout the world. A current list of Informatica trademarks is available on the web at https://www.informatica.com/trademarks.html. Other company
and product names may be trade names or trademarks of their respective owners.
Portions of this software and/or documentation are subject to copyright held by third parties. Required third party notices are included with the product.
DISCLAIMER: Informatica LLC provides this documentation "as is" without warranty of any kind, either express or implied, including, but not limited to, the implied
warranties of noninfringement, merchantability, or use for a particular purpose. Informatica LLC does not warrant that this software or documentation is error free. The
information provided in this software or documentation may include technical inaccuracies or typographical errors. The information in this software and documentation
is subject to change at any time without notice.
NOTICES
This Informatica product (the "Software") includes certain drivers (the "DataDirect Drivers") from DataDirect Technologies, an operating company of Progress Software
Corporation ("DataDirect") which are subject to the following terms and conditions:
1. THE DATADIRECT DRIVERS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
2. IN NO EVENT WILL DATADIRECT OR ITS THIRD PARTY SUPPLIERS BE LIABLE TO THE END-USER CUSTOMER FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, CONSEQUENTIAL OR OTHER DAMAGES ARISING OUT OF THE USE OF THE ODBC DRIVERS, WHETHER OR NOT INFORMED OF THE POSSIBILITIES
OF DAMAGES IN ADVANCE. THESE LIMITATIONS APPLY TO ALL CAUSES OF ACTION, INCLUDING, WITHOUT LIMITATION, BREACH OF CONTRACT, BREACH
OF WARRANTY, NEGLIGENCE, STRICT LIABILITY, MISREPRESENTATION AND OTHER TORTS.
The information in this documentation is subject to change without notice. If you find any problems in this documentation, report them to us at
infa_documentation@informatica.com.
Informatica products are warranted according to the terms and conditions of the agreements under which they are provided. INFORMATICA PROVIDES THE
INFORMATION IN THIS DOCUMENT "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING WITHOUT ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT.
Chapter 4: Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Increasing query rows in ServiceNow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Best practices for increasing memory of the Secure Agent. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table of Contents 3
Chapter 5: Data type reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
ServiceNow and transformation data types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4 Table of Contents
Preface
Use ServiceNow Connector to learn how to read from ServiceNow by using Cloud Data Integration. Learn to
create a ServiceNow connection, develop mappings, and run mapping tasks in Cloud Data Integration.
Informatica Resources
Informatica provides you with a range of product resources through the Informatica Network and other online
portals. Use the resources to get the most from your Informatica products and solutions and to learn from
other Informatica users and subject matter experts.
Informatica Documentation
Use the Informatica Documentation Portal to explore an extensive library of documentation for current and
recent product releases. To explore the Documentation Portal, visit https://docs.informatica.com.
If you have questions, comments, or ideas about the product documentation, contact the Informatica
Documentation team at infa_documentation@informatica.com.
https://network.informatica.com/community/informatica-network/products/cloud-integration
Developers can learn more and share tips at the Cloud Developer community:
https://network.informatica.com/community/informatica-network/products/cloud-integration/cloud-
developers
https://marketplace.informatica.com/
5
Data Integration connector documentation
You can access documentation for Data Integration Connectors at the Documentation Portal. To explore the
Documentation Portal, visit https://docs.informatica.com.
To search the Knowledge Base, visit https://search.informatica.com. If you have questions, comments, or
ideas about the Knowledge Base, contact the Informatica Knowledge Base team at
KB_Feedback@informatica.com.
Subscribe to the Informatica Intelligent Cloud Services Trust Center to receive upgrade, maintenance, and
incident notifications. The Informatica Intelligent Cloud Services Status page displays the production status
of all the Informatica cloud products. All maintenance updates are posted to this page, and during an outage,
it will have the most current information. To ensure you are notified of updates and outages, you can
subscribe to receive updates for a single component or all Informatica Intelligent Cloud Services
components. Subscribing to all components is the best way to be certain you never miss an update.
For online support, click Submit Support Request in Informatica Intelligent Cloud Services. You can also use
Online Support to log a case. Online Support requires a login. You can request a login at
https://network.informatica.com/welcome.
The telephone numbers for Informatica Global Customer Support are available from the Informatica web site
at https://www.informatica.com/services-and-training/support-services/contact-us.html.
6 Preface
Chapter 1
Introduction to ServiceNow
Connector
You can use ServiceNow Connector to securely read data from ServiceNow. You can also use ServiceNow
Connector to connect to any on-premise or cloud application.
You can use ServiceNow objects as sources in mappings and mapping task.
ServiceNow connector supports all versions of ServiceNow except the Express Edition.
When you use ServiceNow Connector, you can include the following Data Integration assets:
• Mapping
• Mapping task
For more information about configuring assets and transformations, see Mappings, Transformations, and
Tasks in the Data Integration documentation.
Incident Y Y Y
Cases Y Y Y
Contract Y Y Y
Account Y Y Y
7
Object Name Read Data Preview Lookup
Assets Y Y Y
Contact Y Y Y
Log_Entry Y Y Y
Catalog_Task Y Y Y
Ticket Y Y Y
Knowledge Y Y Y
Event Y Y Y
Variables Y Y Y
Work Order Y Y Y
Introduction to ServiceNow
ServiceNow is a software-as-a-service (SaaS) provider of enterprise service management software.
ServiceNow automates enterprise operations and creates a single system of record for all service
management processes within an organization. ServiceNow brings together the strategy, design, transition,
and operation on the cloud platform. ServiceNow applications are built on a single platform-as-a-service
which offers consistent and intuitive user experience through the entire service management lifecycle for
services, such as Incident Management, Problem Management, Change Management, User Administration,
CMBD, and Service Management.
Before you can perform data integration between Salesforce and ServiceNow, you must perform the
following tasks:
• Ensure that you have the Salesforce, ServiceNow, and Informatica Cloud Account credentials.
• Enable the XML WebService - SCHEMA export processor to read the schema definition.
• Set up the ServiceNow Integration User and the GMT time zone.
• Enable the Aggregate Web Service plugin to fetch the total row count while reading data.
• Set up the ServiceNow user, group, and role. Include the following roles for the ServiceNow user:
- soap: To read data from the tables.
Set up the ServiceNow integration user and the GMT time zone
Set up an Integration User for ServiceNow and set the user time zone to GMT.
The following image shows the Integration User details and the configured GMT time zone:
1. To enable the Aggregate Web Service plugin, click Plugin from the System Definition application menu,
and then search for Aggregate Web Service.
The following image shows the System Definition application menu:
2. Make sure that the status of Aggregate Web Service is Active. If it does not display Active status, right-
click the service and select Activate.
The following image shows the status of the aggregate web service:
3. To view all the system properties, type sys_porperties_list.do in the filter navigator, and press Enter.
To perform operations in ServiceNow, you must create a group, assign the custom role to the group, and then
add the integration user to the group.
• ITIL
• Rest_Service
• Soap_query
For incident management related tables, it is recommended to include the ITIL role while creating the user
and role.
For more information about the SOAP roles, see the ServiceNow documentation.
1. Click the Role module that resides in the User Administration application menu.
The following image shows the Role screen that appears, displaying the existing roles and their
attributes:
3. Enter a valid name in the Name field and optionally enter a description.
The following image shows the specified Synq_User_Role:
6. Include the roles required for gaining access to all the ServiceNow features.
5. Click Edit on the Roles tab to assign the roles to the group.
6. Select Synq_user_Role from the available roles.
The following image shows the selected Synq_user_Role in the Roles list:
7. Click Save.
2. Choose to create new users, or click Edit to add existing users to the group.
The following image shows the Edit tab for the SynQ_User_Group:
4. Click the Table label value to view and update the attributes of the sys_db_object table.
The following image shows the Table label:
The sys_db_object contains metadata of the ServiceNow tables. For accessing data from the
sys_db_object table, assign the role to the read operation. You must have the security_admin elevated
role for updating the ACL for any of the tables. Enable the role before updating the ACLs.
6. To add a new ACL for the read operation for the Synq_User_Role, click New.
For more information about updating ACLs, see the ServiceNow documentation.
It is recommended that you use the following SOAP URL and test the REST, JSON, JSONv2, or SOAP
endpoints: https://www.soapui.org
You must use the user credentials that has the SynQ_User_Role, or the name that you provided for the role.
Before making a call to the API, make sure that you have set up the user, group, and role:
Purpose : Testing Connection with ServiceNow
URL :https://<instance>.service-now.com/api/now/table/sys_user
Authentication: Basic
If you do not get the expected results, verify the user credentials and ServiceNow ACLs.
The following image shows an example of a GET request validation from a REST Client:
To create a successful connection with Data Integration, verify the credentials and ACLs with the following
API:
API URL :https://<instance>.service-now.com/api/now/table/sys_db_object
Authentication:Basic
• https://<instance>.service-now.com/api/now/table/sys_db_view.do
• https://<instance>.service-now.com/api/now/table/sys_db_object.do
• https://<instance>.service-now.com/api/now/table/<table_name>.do?SCHEMA
Read API
Test the SOAP and REST APIs to read from the ServiceNow tables or views.
You can test the ACL and user-role setup using the REST clients. To test using a REST client, you require
a valid REST API URL, the suitable methods, valid parameters, and authentication. For example, call a
REST API to get data from a ServiceNow table. Use the following details to make a REST call:
Authentication : Basic (Requires username /password of user who is having
SynQ_User_Role)
Method : Get
URL : valid api url
For more information about the REST API URLs and parameters, see the following website:
https://docs.servicenow.com/bundle/jakarta-application-development/page/integrate/inbound-rest/
concept/c_RESTAPIExplorer.html?title=REST_API_Explorer#gsc.tab=0
• 209.34.91.0-255
• 206.80.52.0-255
• 206.80.61.0-255
• 209.34.80.0-255
ServiceNow connections
Create a ServiceNow connection to securely read data from ServiceNow. You can use ServiceNow
connections to specify sources in mapping tasks.
You can create a ServiceNow connection on the Connections page and use it in the Mapping task wizard
when you create a task. The connection becomes available to the entire organization.
Property Description
Runtime Environment The name of the runtime environment where you want to run the tasks.
Specify a Secure Agent or a Hosted Agent.
24
Configuring proxy server settings
If your organization uses a proxy server to access the Internet, you can configure the proxy server settings for
the Secure Agent to connect to ServiceNow.
You must provide the proxy server details either in the proxy.ini file or in the Secure Agent Manager.
When you configure a proxy server, you can only use an unauthenticated proxy server to connect to
Informatica Intelligent Cloud Services.
1. Navigate to the following directory on the Secure Agent machine: <Secure Agent installation
directory>\Informatica Cloud Secure Agent\apps\agentcore\conf\proxy.ini
2. Add the host and port number of the proxy server in the proxy.ini file:
InfaAgent.ProxyHost=<Proxy server hostname>
InfaAgent.ProxyPort=<Proxy server port number>
3. Restart the Secure Agent.
The proxy details appear on the Secure Agent Manager proxy server settings page.
1. Click Start > All Program > Informatica Cloud Secure Agent > Informatica Cloud Secure Agent.
You can also click the Data Integration icon in the Windows taskbar notification area to open the Secure
Agent Manager.
The Secure Agent Manager displays the Secure Agent status.
2. Click Proxy in the Secure Agent Manager page.
3. Click Use a Proxy Server to enter the proxy server settings.
4. Configure the following proxy server details:
Field Description
Proxy Host Required. Host name of the outgoing proxy server that the Secure Agent uses.
5. Click OK.
6. Restart the Secure Agent to apply the settings.
You can use the following ServiceNow objects as a source object in a mapping:
• Incident
• Cases
• Contract
• Account
• Assets
• Contact
• Log_Entry
• Catalog_Task
• Ticket
• Knowledge
• Event
26
• Variables
• Work Order
• Task
• Alm_asset
• Sn_customerservice_case_report
Read Batch Size The maximum number of records that the Secure Agent reads in a batch from ServiceNow.
Note: You can specify a maximum batch size of up to 10,000 records. If you specify a batch size
beyond 10,000 records, data loss is encountered.
Note: When you read data from the Account object, the Secure Agent displays incorrect number of success
rows in the session log.
Troubleshooting
Use the following sections to troubleshoot errors in ServiceNow Connector.
The system property [of sys_properties table]: glide.processor.json.row_limit determines the query row limit.
To enable this property in the ServiceNow table, perform the following tasks:
Tomcat JRE
Problem: You might encounter memory related or Java heap related error messages when you perform the
following tasks:
• Test connection or metadata fetch. You might encounter an error when you select a connection or an
object.
• Agent logs. Java out-of-memory or Java heap space error encountered during the INFA Agent login.
28
Solution: Increase the memory options for the INFA_MEMORY attribute for type Tomcat JRE. Use the
following format: "-Xms***m -Xmx****m -XX:MaxPermSize=***m"
DTM
Problem: You might encounter Java out-of-memory, Java heap space, out-of-memory, or perGen space error
messages either in the session log or the activity log, or both.
Solution: You can specify the default options of JVMOption1, JVMOption2, JVMOption3, and so on. If you
have specified all the available JVMOptions, you can add additional options as custom properties for the
Secure Agent.
Ensure that you maintain the sequence. If the default ones that you specified stop at JVMOption5, you must
add custom properties that start with JVMOption6. Specify the type as DTM and subtype as INFO. Each
JVMOption must hold only one JVM property.
The main JAVA memory properties are -Xms**m, -Xmx****m, and -XX:MaxPermSize=***m.
The initial value that specifies the amount of memory with which the Java Virtual Machine starts. The
memory value you specify for this attribute is allocated when the Java process starts.
-Xmx****m
The value that specifies the maximum amount of memory that the Java Virtual Machine can allocate as
heap. After the Java process starts, it will continue allocating more space to store its objects. The
allocation continues until it reaches the maximum setting, after which the Java process crashes with a
Java heap space or out-of-memory issue.
-XX:MaxPermSize=***m
The maximum permissible size that the Java Virtual Machine can use at a given time. If the Java Virtual
Machine requires more than the specified amount, the Java process crashes with a permGem space
issue.
This value represents the base or initial value. You can specify a minimum value, such as 64M or 128M.
This value specifies the amount of memory used for the process initialization. The Java process
eventually continues to allocate space as and when it requires.
-Xmx***m
This value represents the maximum value to which the Java heap can grow. The value must be large
such that it can hold all the Java objects and classes.
On a 32-bit Secure Agent, you can specify a value that must not exceed 1024M for Windows and 2048M
for Linux due to operating system limitations for a 32-bit application. However, it is recommended that
you do not specify a value beyond 900M for 32-bit Secure Agents to avoid memory issues for tasks in
general and for the Secure Agent.
If the process fails with 900M or higher on a 32-bit Secure Agent, you must use a 64-bit Secure Agent.
For a 64-bit Secure Agent, you can specify any -Xmx value, which is limited only by the system memory
that the operating system allocates to the system. Generally, on a 64-bit Secure Agent, you can specify a
value of about 1024M or 2048M. However, if your tasks fail with a Java heap space or out-of-memory
error, you must increase the value further, based on trial and error, as the value is dependent on the
amount of data, the classes loaded, and how the Java and operating system stores the data.
ServiceNow data types appear in the Fields tab for Source transformation when you choose to edit
metadata for the fields.
Set of data types that appear in the transformations. They are internal data types based on ANSI SQL-92
generic data types, which the Secure Agent uses to move data across platforms. Transformation data
types appear in all transformations in a mapping.
When Cloud Data Integration reads source data, it converts the native data types to the comparable
transformation data types before transforming the data.
Choice String
Collection String
Color String
Conditions String
Currency Double
Date Date
Date/Time TimeStamp/Date
Document ID String
Domain ID String
30
ServiceNow Data Type Transformation Data Type
Duration Long
HTML String
Integer Integer
IP Address String
Journal String
Long Long
Price Double
Reference String
Script String
String String
Suggestion String
Time String
True/False Boolean
URL String
C ServiceNow Connections
overview 24
Cloud Application Integration community ServiceNow Connector
URL 5 overview 7
Cloud Developer community ServiceNow data types
URL 5 mapping to transformation data types 30
connections overview 30
ServiceNow 24 ServiceNow source
mappings 26
status
M W
maintenance outages 6
web site 5
S Z
ServiceNow
connection properties 24 Zendesk V2 Connector
ServiceNow connections supported object types 7
administration 8
33