Add/Update Organizations

Operation Name

Add/Update Organizations

Function Overview

Adds and updates organizations on DataSpider BPM.

Adds and updates the organizations specified in the input data, and outputs the organizations to the output data that failed to add or update.

Data Model

Table Model type.

Properties

For information about using 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.  
Input data Required Not available Select the component on the script canvas.  
Required settings
Item name Required/Optional Use of variables Description Remarks
Destination Required Not available Select a global resource.
For more details on Global Resource settings, refer to "Global Resource Properties".
  • [Add]:
    Adds a new global resource.
  • [Edit list]:
    Enables to edit the global resource settings in the "Edit resource list".
 
Update organizations with the same name Optional Not available Select whether to update, if organization(s) with the same name exists.  
Data processing method
Item name Required/Optional Use of variables Description Remarks
Data processing method Required Not available Select a data processing method.
  • [Use script settings]:(default)
    Applies the setting of mass data processing setup in script property to the adapter.
  • [Disable]:
    Mass data processing is not performed.
  • [Enable]:
    Mass data processing is performed.
 
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

<?xml version="1.0" encoding="UTF-8" ?>
<table>
  <row>
    <column>Name of an organization to add or update/name</column>
    <column>Name of an organization to update/nameToUpdate</column>
    <column>Email of an organization to add or update/ email</column>
    <column>Name of a parent organization of an organization to add or update/parentGroup</column>
  </row>
  <row>
    :
  </row>
</table>
Element name Column name/label Description Remarks
row - Repeats accordingly to the number of organizations to add or update.  
column Name of an organization to add or update/name Enter the name of the organization to add or update.
  • Receives the organization information with this value as the key upon updating, and updates the following.
Name of an organization to update/nameToUpdate Enter the name of the organization to update.
  • Do not enter value while adding.
  • If you enter "null" or empty string upon updating, the information will not be updated.
Email of an organization to add or update/email Enter the email address of the organization to add or update.
  • If you enter "null" or empty string upon updating, the information will not be updated.
Name of a parent organization of an organization to add or update/parentGroup Enter the name of the parent organization of the organization to add or update.
  • If you enter "null" or empty string upon updating, the information will not be updated.

Output Schema

<?xml version="1.0" encoding="UTF-8" ?>
<table>
  <row>
    <column>Name of an organization failed to add or update/name</column>
    <column>Name of an organization failed to update/nameToUpdate</column>
    <column>Email of an organization failed to add or update/email</column>
    <column>Name of a parent organization of an organization failed to add or update/parentGroup</column>
  </row>
  <row>
    :
  </row>
</table>
Element name Column name/label Description Remarks
Row - Repeats accordingly to the number of organizations failed to add or update.  
Column Name of an organization failed to add or update/name Outputs the name of the organization failed to add or update.  
Name of an organization failed to update/nameToUpdate Outputs the name of the organization fail to update.  
Email of an organization failed to add or update/email Outputs the email address of the organization failed to add or update.  
Name of a parent organization of an organization failed to add or update/parentGroup Outputs the name of the parent organization of the organization failed to add or update.  

Loading Schema on Mapper

A schema will be loaded automatically.
For more detail, refer to "Edit schema".

Mass Data Processing

Mass data processing is supported.

Transaction

Transaction is not supported.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
add_count Returns the number of organizations added.
  • Default value is null.
update_count Returns the number of organizations updated.
  • Default value is null.
failure_count Returns the number of organizations failed to add or update.
  • Default value is null.
message_category Stores the code of message code corresponding to the occurred error.
  • Default value is null.
message_code Stores the code of message code corresponding to the occurred error.
  • Default value is null.
message_level Stores the severity of message code corresponding to the occurred error.
  • Default value is null.
error_type When an error occurs, class of the error will be stored.
  • Default value is null.
  • Class of errors is in following format.
    Example: "java.io.FileNotFoundException"
  • Depending on version for DataSpider Servista, stored contents may alter.
error_message When an error occurs, the message of error will be stored.
  • Default value is null.
  • Depending on version for DataSpider Servista, stored contents may alter.
error_trace When an error occurs, the trace information of errors will be stored.
  • Default value is null.
  • Depending on version for DataSpider Servista or executing client application, stored contents may alter.

Specification Limits

Main Exceptions

Exception name Cause Measure
InputDataNotFoundException [Input data] is not specified Specify or draw a data flow of [Input data].
ResourceNotFoundException
Resource definition cannot be found. Name:[]
[Destination] is not specified Specify [Destination].
ResourceNotFoundException
Resource definition cannot be found. Name:[<Global resource name>]
Selected resource definition in [Destination] cannot be found. Confirm the global resource specified in [Destination].
InvalidPropertyConfigurationException
<Property name> is not specified
[<Property name>] is not specified Specify [<Property name>].
AuthenticationException [Email] or [Password] for the global resource is false. Confirm the setting of global resource.