Add Record
By using the Add Record activity, you can add records and the relative relationship to repositories.
General
The General tab contains the following fields.
Field | Module Property? | Description |
---|---|---|
Name | No | The name to be displayed as the label for the activity in the process.
The default value is AddRecord. |
MDM Connection | Yes | The MDM connection resource establishes a connection to an TIBCO® MDM server. The plug-in can then communicate with TIBCO® MDM.
Click
If no matching MDM connections are found, click Create Shared Resource to create one. |
Execution Mode | Yes | Select an execution mode. The default option is
SYNCHR.
|
Repository | No | The name of the repository where records are stored.
Click Select to select a repository. Note: When the selected repository model is complex and involves many related repositories, you need to increase the value of the
-Xms and
-Xmx parameters in the
TIBCOBusinessStudio.ini file which is located in the
TIBCO_HOME\studio\version\eclipse directory.
|
Perspective | No | Specify the perspective name within the selected repository.
Click Select to open the Perspective dialog. All available perspective names are listed in the dialog. Select one to apply to your current activity. Note: The field appears only when the selected repository model is defined with Perspective.
Note: The usage of a context variable is not recommended. However, if used, the
Perspective dialog preference takes precedence of the context variable.
|
Record State | Yes | The state in which you want to save the record. The default option is
Unconfirmed.
|
Command Qualifier | Yes | The qualifier of the command. The default option is
Validate/Process.
Note: When
Record State is set to
Draft, only
Validate/Process and
NoValidate/Process are available.
|
File Type Attributes | Yes | Specify how to upload a file with file type attributes. This field is available when any attribute defined in the selected repository model is a file type attribute. By default, the attribute is
ATTACHMENT.
Note: Currently, we only support ATTACHMENT.
|
Description
Provide a short description for the activity.
Advanced
The Advanced tab contains the following field.
Field | Module Property? | Description |
---|---|---|
Classify Records Manually | No | Select this checkbox manually to classify records into the specified classification code by using the Classification Scheme while adding a record.
Note: This check box is available only when the selected repository model is defined with manual classification scheme or mixed classification scheme. When this check box is selected,
ClassificationSchemes is added to the
repository node in the
Input tab.
|
Input
The following is the input for the activity.
Input Item | Description |
---|---|
atomic | Set the value of this attribute to:
|
Attribute Group | Specify group attributes of records. Each attribute is assigned to an attribute group:
Unassigned,
System, orNew Group. The default attribute group
UNASSIGNED holds all attributes that do not belong to any specific group.
Note: New data types
Long and
URL are supported. The XPath Expression is used to edit complex data types, use the function constructor. Also the
Fix Type-Casting Errors option can be used to correct data input format.
|
ClassificationSchemes | You can use the
ClassificationSchemes attribute to organize records based on their attributes. You can specify the value of
Name,
Action, and
ClassificationCode.
Note: The
ClassificationSchemes attribute is added to the
repository node when the
Classify Records Manually check box is selected in the
Advanced tab.
|
Relationship | Specify the relationship of records in repositories. After selecting an available relationship name, you can specify the corresponding relationship attributes and attributes in the target repository.
|
Output
The following is the output for the activity.
Output Item | Description |
---|---|
Result | The execution result to indicate whether the execution has succeeded or not.
This node contains the following three elements:
|
Transaction | |
Response | Detailed information of the repository and ResultList:
|
TransactionResult | The result of a transaction to indicate if the command has succeeded or not.
Success does not mean the successful completion of the command. However, a failure does mean that the command is stopped. This element also captures details such as Result, SuccessCount, EventID, EventStatus, EventState, Action.
|