Reallocate Tasks

Operation Name

Reallocate Tasks

Function Overview

Conducts coercive allocation for task on DataSpider BPM.

Coercively allocates task specified in input data and outputs task that failed coercive allocation into output data.

You can acquire task for coercive allocation at task history search process.

Only user with control authorization of process that you want to coercively allocate task can coercively allocate task within it. About how to set up control authorization, refer to DataSpider BPM manual.

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 the list]:
    Enables to edit the global resource settings in the "Edit resource list".
 
Allocated user Required Available Input email address of user who will be allocated for task.  
Allocated organization Required Available Select or input organization for assigning user who will be allocated for task.  
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

If you are mapping result data of task history search process on Document Mapper, mapping can easily be done by using collectively linking name base.

<?xml version="1.0" encoding="UTF-8" ?>
<table>
  <row>
    <column>Task ID/id</column>
    <column>Task name/nodeName</column>
    <column>Process model category/processModelInfoCategory</column>
    <column>Process model name/processModelInfoName</column>
    <column>Title/processInstanceTitle</column>
    <column>Name of organization which started the process/processInstanceInitGroupName</column>
    <column>Email of user who started the process/processInstanceInitUserEmail</column>
    <column>Name of organization which the task is allocated to/allocatedGroupName</column>
    <column>Email of user who the task is allocated to/allocatedUserEmail</column>
  </row>
  <row>
    :
  </row>
</table>
Element name Column name/label Description Remarks
row
-
Returns the number of tasks that was coercively allocated.  
column Task ID/id Instance ID of the task to be reallocated.  
Task name/nodeName Name of the task to be reallocated.
  • Task name will not be used in task coercive allocation process. However, by inputting a task name, it will be easier to find which task caused the failure when task for coercive allocation fails.
Process model category/processModelInfoCategory Category of the process model of the task to be reallocated.
  • Process model category will not be used for task coercive allocation process. However, by inputting a process model category, it will be easier to find which task caused the failure when task for coercive allocation fails.
Process model name/processModelInfoName Name of the process model of the task to be reallocated.
  • Process model names will not be use for task coercive allocation process. However, by inputting a process model name, it will be easier to find which task caused the failure when task for coercive allocation fails.
Title/processInstanceTitle Title of the process of the task to be allocated.
  • Title will not be used in task coercive allocation process. However, by inputting a title, it will be easier to find which task caused the failure when task for coercive allocation fails.
Name of organization which started the process/processInstanceInitGroupName Name of the organization which started the process of the task to be reallocated.
  • Process commenced organization's name will no be used in task coercive allocation process. However, by inputting a process commenced organization's name, it will be easier to find which task caused the failure when task for coercive allocation fails.
Email of user who started the process/processInstanceInitUserEmail Email of the user who started the process of the task to be reallocated.
  • Process commenced user's email address will not be used in task coercive allocation process. However, by inputting a process commenced user's email address, it will be easier to find which task caused the failure when task for coercive allocation fails.
Name of organization which the task is allocated to/allocatedGroupName Name of the organization which the task to be reallocated is allocated to.
  • Task allocated organization name will not be used in task coercive allocation process. However, by inputting a task allocated organization name, it will be easier to find which task caused the failure when task for coercive allocation fails.
Email of user who the task is allocated to/allocatedUserEmail Email of the user who task to be reallocated is allocated to.
  • Task allocated user's email address will not be used in task coercive allocation process. However, by inputting a task allocated user's email address, it will be easier to find which task caused the failure when task for coercive allocation fails.

Output Schema

<?xml version="1.0" encoding="UTF-8" ?>
<table>
  <row>
    <column>Task ID/id</column>
    <column>Task name/nodeName</column>
    <column>Process model category/processModelInfoCategory</column>
    <column>Process model name/processModelInfoName</column>
    <column>Title/processInstanceTitle</column>
    <column>Name of organization which started the process/processInstanceInitGroupName</column>
    <column>Email of user who started the process/processInstanceInitUserEmail</column>
    <column>Name of organization which the task is allocated to/allocatedGroupName</column>
    <column>Email of user who the task is allocated to/allocatedUserEmail</column>
  </row>
  <row>
    :
  </row>
</table>
Element name Column name/label Description Remarks
Row
-
Returns the number of task that failed coercive allocation.  
Column Task ID/id Instance ID of the task which failed to reallocate.  
Task name/nodeName Name of the task which failed to reallocate.
  • Input data that failed to coercively allocate will be output without change.
Process model category/processModelInfoCategory Category of the process model of the task which failed to allocate.
  • Input data that failed to coercively allocate will be output without change.
Process model name/processModelInfoName Name of the process model of the task which failed to reallocate.
  • Input data that failed to coercively allocate will be output without change.
Title/processInstanceTitle Title of the process of the task which failed to reallocate.
  • Input data that failed to coercively allocate will be output without change.
Name of organization which started the process/processInstanceInitGroupName Name of the organization which started the process of the task which failed to reallocate.
  • Outputs a task's input data of failed coercive allocation as it stands.
Email of user who started the process/processInstanceInitUserEmail Email of the user who started the process of the task which failed to reallocate.
  • Outputs a task's input data of failed coercive allocation as it stands.
Name of organization which the task is allocated to/allocatedGroupName Name of the organization the task which failed to reallocate is allocated to.
  • Input data that failed to coercively allocate will be output without change.
Email of user who the task is allocated to/allocatedUserEmail Email of the user the task which failed to reallocate is allocated to.
  • Input data that failed to coercively allocate will be output without change.

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
allocate_count Returns the number of tasks for coercive allocation.
  • Default value is null.
failure_count Returns the number of tasks failed coercive allocation.
  • 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 the 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 the 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 the DataSpider Servista or executing client application, stored contents may alter.

Specification Limits

None.

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] for the global resource is false. Confirm the global resource setting.
UserNotFoundException User specified in [Allocated user] does not exist. Specify email address of a user that exist in [Allocated user].
InvalidEmailAddressException User's email address specified in [Allocated user] is false. Specify email address on [Allocated user].
GroupNotFoundException Specified organization in [Allocated organization] does not exist. Specify name of a organization that exist in [Allocated organization].