Description |
Flow Data Service - Configuration (Magic xpi 3.x)
The Flow Data Configuration dialog box is used to configure the Flow Data Service parameters. It consists of the following fields:
|
|
Name
|
Enter a name for the Flow Data service.
|
Description
|
Enter a description for the Flow Data service.
|
Magic xpi Server
|
Select the Magic xpi Server where the Flow Data Service is executed.
Click to the right of the Magic xpi Server field to open the Server List. Select a server from the list and then click Select.
|
Call logic flow
|
You can use this option if you want to call generic logic after the execution of a specific step. Once this step has been executed, the flow logic that you defined in the flow properties is called before the Server continues to the following steps. The options are Yes or No (default).
|
Processing mode
|
Select whether the step should be executed linear, parallel or stand-alone. This is only available if the Flow Data Service is not the first step in the flow.
|
Wait for completion
|
Select whether the step should be run in Wait for Completion mode. The options are Yes or No. The Wait for completion mode is only available when the Flow Data Service is a Linear step and if it is not the first step in the flow.
|
Save point
|
Select Yes to indicate that the step is a Save Point in your flow. This is available only if the flow's Recovery Policy is set to Save Point.
|
The following table describes the columns in the Flow Data Configuration dialog box:
|
|
Action
|
Select the type of action to execute:
-
Update: Adds or inserts data in the target flow data. For example, you can insert information to the User BLOB using the Flow Data service. When you select Update as your action type, a tooltip displaying the line number can be seen.
-
Clear: Clears all of the data in the target data flow.
-
Reset: Resets a variable (business process variables, context variables, or global variables) to its original value.
-
Delete: Deletes an ODS entry from the database. This is available if ODS Global or ODS Local are selected as the Type.
-
Insert: Inserts data to an ODS Array. You must specify which index entry to update. For example, if you have an ODS entry (User Key) with an array, each piece of data is entered into an Index. The Index is referred to by number. For example, if the ODS User Key called ODataS has an array, each Index will be called ODataS_1, ODataS_2 etc When you select Insert, you add a new index entry to an ODS User Key.
|
Type
|
Indicate the type of target variable selected:
-
Context
-
Global
-
Business Process
-
ODS Global
-
ODS Local
-
Environment
Note:
|
-
If Reset is selected as the Action, you cannot select ODS Global, ODS Local, or Environment.
-
If Delete is selected as the Action, then only ODS Global or ODS Local are available.
-
Environment is available for the Update and Clear operations.
|
|
|
Dyn
|
Check this box to indicate whether the Name is dynamic. You can use this check box with all of the variable types listed in the Type section above. The Dynamic variable name uses the variable's value, not its name.
|
Name
|
Enter the name of the variable or the ODS key. This column is available for all the variables that can be selected in the Type column.
-
If Flow, Context, Global, or Business Process are selected as the variable type, click to the right of the Name column to open the Variables List. Select a defined variable from the list and click OK. If you have selected dynamic naming, click to use the Expression Editor to enter the required variable. You should specify the variable type when you use dynamic naming.
Note:
|
-
If you selected the check box to define a dynamic variable name, the Name column is read-only.
-
If Delete is selected as the Action, you can leave the Name field empty to delete all ODS Global or ODS Local entries.
|
|
|
Data Type
|
Select a standard data type from the drop-down list:
-
Alpha
-
Number
-
Date
-
Logical
-
Time
-
BLOB
This is available only if ODS Global or ODS Local is selected as the Type and the Action is not Delete.
Note:
|
If you add a UDS model to the UDS Repository, and create a UDS type variable, then UDS is available as a data type on this drop-down list.
|
|
|
Index
|
Enter the ODS Index that you want to Insert, Update, or Clear. This Action supports the ODS Global and ODS Local data types. Enter an Index to indicate which Index in the ODS Array to Update or Clear, or enter an Index to indicate the Index number added when you Insert new data into the array.
Note:
|
If you select Clear or Update and you do not enter an Index, the first Index entry is updated or cleared.
|
|
|
Update Expression
|
Enter an expression that indicates the flow data to be manipulated. For example, if you are updating the User BLOB, you enter the data to be entered in the User BLOB.
You can click to the right of the column to use the Expression Editor to enter the data or use conditions that include variables or expressions to enter dynamic data.
|
Condition
|
This is free text field. Enter a Boolean expression that indicates under which conditions the target update will occur (True indicates that the update will occur, False indicates that the update will not occur).
You can click to the right of the column to use the Expression Editor to enter the condition. You then create an expression that will define the parameter, such as only update if a rejection letter is sent. The User BLOB is updated only when this condition is met.
|
|
|
---|