{{ transformations:ImportServiceNowAction.png}} ====== IMPORT FROM SERVICENOW ====== Category: Import / App/Cloud\\ \\ =====Description===== This action imports records from a ServiceNow table, obtains the list of tables in a ServiceNow instance, or fetches the list of fields in a ServiceNow table. \\ =====Action settings===== ^ Setting ^ Description ^ |Connector*|Select a configured [[connectors:servicenow|ServiceNow connector]], or build one by selecting //Add connector//.| |Command|Select the operation this action will perform. Options: //Import from table//, //List tables//, or //List fields//. See below for details of each command type.| * Setting can be specified using a [[:parameters|parameter]]. \\ ====Import from table==== **Description:** Import records from a specific ServiceNow table. ^ Setting ^ Description ^ |Table*|Enter, or use the "Pick table" button to browse through and select, the ServiceNow table to import records from.| * Setting can be specified using a [[:parameters|parameter]] or the first value of a column. \\ ===Fields tab=== ^ Setting ^ Description ^ |Include the record ID field (sys_id)|Check this option to also import the record ID (''sys_id'') field.| |Import all fields|Choose this option to import all fields.| |Import selected fields|Choose this option to import specific fields from a list.| \\ ===Filter tab=== ^ Setting ^ Description ^ |Load the first //n// records*|Check this option to import a limited number of records from the top of the table. Specify the number of records to import.| |Add filter|Use this to add one or more filters to records to import. Options: //Simple filter// (and enter the values* to build the filter) or //Custom ServiceNow filter// (and enter a ServiceNow encoded query*). Filter logic can be customized across the conditions.| * Setting can be specified using a [[:parameters|parameter]] or the first value of a column. \\ ====List tables==== **Description:** List all tables found in the ServiceNow instance. There are no settings for this command. \\ ====List fields settings==== **Description:** List all fields from a specific ServiceNow table. ^ Setting ^ Description ^ |Table*|Enter, or use the "Pick table" button to browse through and select, the ServiceNow table to list the fields of.| * Setting can be specified using a [[:parameters|parameter]] or the first value of a column. \\ =====Shortcuts===== Fast ways to create the action: * Press the "Add data" menu button and select "Fetch from cloud/application". \\ =====See also===== *[[transformations:exportservicenow|Export to ServiceNow]] *[[transformations:servicenowcommand|Update/delete records in ServiceNow]]