Read Table

Operation Name

Read Table

Function Overview

Reads the data stored in kintone table.

Data Model

Table model type.

Properties

For details on use of variables, refer to “Variables”.
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show on the script canvas.  
Required settings
Item name Required/Optional Use of variables Description Remarks
Destination Required Not available Select a global resource.
For details on global resource settings, refer to “Global Resource Properties”.
  • [Add]:
    Add a new global resource.
  • [Edit list]:
    Global resource settings can be edited in “Edit resource list” screen.
 
Record ID Required Available Specify the ID of the record of which the table belongs to.  
Table field code Required Available Specify the field code of the table.  
Table field list Required - Specify the table filed.  
Table field list/Target Optional Not available Select whether or not to include each field in targets.
  • [Checked]:
    Include in targets.
  • [Not checked]: (default)
    Do not include in targets.
  • One or more columns should be checked.
  • The checked column names will be displayed in Mapper schema.
  • Batch operation can be performed by clicking the checkbox displayed in the header.
Table field list/Field name Optional Not available Field name is displayed.  
Table field list/Field code Optional Not available Field code is displayed.  
Table field list/Field type Required Not available Field type is displayed.  
Property actions
Item name Description Remarks
Get table list Retrieves the table field code from kintone application and displays it in [Table field code].  
Update field list Retrieves the field information from the table specified in [Table field code] and sets it to [Table field list].  
Attachment
Item name Required/Optional Use of variables Description Remarks
Download and get the file path Optional Not available Specify whether to download and get the file path or not.
  • [Checked]:
    Downloads the attachment and gets the file path.
  • [Not checked]:(default)
    Does not attachment and gets the file path.
 
Download directory Required Available Select or enter the directory to download attachments.

Click [Browse] to open the directory chooser and select a directory.

The paths of the downloaded attachments will be [Download directory]/<record ID>/<field code>/<file key>/<attached file name>.
  • Enabled when [Download and get the file path] is checked.
  • Specify an absolute path of DataSpider File System for the file path.
  • Characters restricted in DataSpider File System cannot be used except the path separator “/”.
Comment
Item name Required/Optional Use of variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Schema

Input schema

None.

Output schema

Refer to “Schema of table model type” for more details.

Loading schema in Mapper

Schema is loaded automatically.
Refer to “Edit Schema” for more details.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
count The number of read data is stored.
  • Default value is null.
message_category When an error occurs, the corresponding message code's category is stored.
  • Default value is null.
message_code When an error occurs, the corresponding message code is stored.
  • Default value is null.
message_level When an error occurs, the corresponding message code's severity is stored.
  • Default value is null.
error_type When an error occurs, the error type is stored.
  • Default value is null.
  • The error type will be in the following format.
    Example: “java.io.FileNotFoundException”
  • The contents that will be stored may vary depending on DataSpider Servista versions.
error_message When an error occurs, the error message is stored.
  • Default value is null.
  • The contents that will be stored may vary depending on DataSpider Servista versions.
error_trace When an error occurs, the error's trace information is stored.
  • Default value is null.
  • The contents that will be stored may vary depending on DataSpider Servista versions and client applications.

Specification Limits

Major Exceptions

Exception name Cause Solution
ResourceNotFoundException
Resource definition is not found. Name: []
[Destination] is not specified. Specify [Destination].
ResourceNotFoundException
Resource definition is not found. Name: [<global resource name>]
The resource definition specified in [Destination] is not found. Check the global resource specified in [Destination].
InvalidPropertyConfigurationException
<property name> is not specified.
[<property name>] is not specified. Specify [<property name>].
KintoneResponseStatusException
<status code><contents of status code>
<contents of error>
An error occurred during kintone processing. Check the settings according to the error message.
org.apache.http.client.ClientProtocolException [Subdomain name] is invalid. Check [Subdomain name] of [Destination].