Delete Users

Operation Name

Delete Users

Function Overview

Delete users on DataSpider BPM.

Deletes the users specified in the input data, and outputs the users that failed to delete to the output data.

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".
 
Data processing method
Item name Required/Optional Use of variables Description Remarks
Data processing method Required Not available Select the 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>Email of a user to delete/email</column>
    <column>Email of a user who will be delegated the deleted user's tasks to/delegateUserEmail</column>
    <column>Position of a user who will be delegated the deleted user's tasks/delegateUserPosition</column>
  </row>
  <row>
    :
  </row>
</table>
Element name Column name/label Description Remarks
row
-
Repeats accordingly to the number of users to delete.  
column Email of a user to delete/email Enter the email address of the user to delete.  
Email of a user who will be delegated the deleted user's tasks to/delegateUserEmail Enter the email address of the user who will be delegated the deleted user's tasks to.
  • If task is possessed by a deleted user, input will be required.
Position of a user who will be delegated the deleted user's tasks/delegateUserPosition Enter the position of the user who will be delegated the deleted user's tasks.
  • If task is possessed by a deleted user, input will be required.

Output Schema

<?xml version="1.0" encoding="UTF-8" ?>
<table>
  <row>
    <column>Email of a user failed to delete/email</column>
    <column>Email of a user failed to be delegated the deleted user's tasks to/delegateUserEmail</column>
    <column>Position of a user failed to be delegated the deleted user's tasks/delegateUserPosition</column>
  </row>
  <row>
    :
  </row>
</table>
Element name Column name/label Description Remarks
row
-
Repeats accordingly to the number of users failed to delete.  
column Email of a user failed to delete/email Outputs the email address of the user failed to delete.  
Email of a user failed to be delegated the deleted user's tasks to/delegateUserEmail Outputs the email address of the user failed to be delegated the deleted user's tasks to.  
Position of a user failed to be delegated the deleted user's tasks/delegateUserPosition Outputs the position of the user failed to be delegated the deleted user's tasks.  

Loading Schema on Mapper

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
delete_count Returns the number of users deleted.
  • Default value is null.
failure_count Returns the number of users failed to delete.
  • Default value is null.
message_category Stores the category 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, the class of error will be stored.
  • Default value is null.
  • Class of error 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 error 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 [Input data] or draw a data flow.
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] of the global resource is false. Confirm the global resource setting.