Working with Data Fields

Data Field, which is also known as Process Variable, helps Process Pipelines to access and store information from outside application. Often the process flow is based on the value of this information. In other cases, this information is the result of running the tasks in the Pipeline.

Adding Data Field

  1. From the Process Modeller window, click corresponding to the Pipeline for which you want to add a Data Field. The Process Flow tab is displayed..

  2. Select the Data Fields tab.

  3. Click Add. The Data Field Details window is displayed.

  4. Enter the details as given in the table:

Field

Description

Data field Code

Enter the Variable Name/Code, which needs to be used by application to read or write in to this variable. This field is non translatable.

Data field Description

Enter a brief description of the Data field.

Data field Type

Enter the Data Field type. The supported types are String, Integer, Int, Float, AOM (Application Object Model), and Boolean. For more information on where we use AOM Data Field type, see AOM Data Field section.

Initial Value

Enter the default value for the Data.

Is Mandatory

This field is applicable for Data Field Type of AOM. By default, for AOM Data Field, this is selected as Yes.

Select No if you do not want this parameter to be displayed as Execution Parameter for the Run Pipeline.

Scope

Select the scope of the Data Field from the drop-down list. The options are:

  • Process- Select Process if you want to use the Data Field only in the current process.

  • Package- Select Package if you want to use the Data Field across all the processes in the package.
  1. Click OK.

System Data Fields

Some data are tracked internally by the System using a predefined set of Data Fields such as Status of Process. You can access these activity instance attributes in the same way you access regular data objects, but you cannot assign them new values.

System Data Field

Description

WF_RUNSK

Holds the Runsk value.

WF_MISDATE

Holds the MIS date.

WF_INFODOM_CODE

Holds the Information domain code.

WF_USERID

Holds the UserId who invoked the Workflow.

WF_LOCALE

Holds the locale.

WF_OBJECT_NAME

Holds the Object name.

WF_INSTANCE

Holds the Process Instance Id.

WF_SEGMENT_CODE

Holds the Segment Code.

WF_PROCESS_ID

Holds the Process Id.

WF_OUTCOME_ID

Holds the Outcome Id.

WF_OBJECT_ID

Holds the Object Id.

WF_ENTITY_ID

Holds the Entity Id.

WF_OBJECT_TYPE

Holds the Object Type.

WF_TASK_STATUS

Holds the Task status.

WF_TASK_RESPONSE

Holds the Task response.

WF_CALLBACK_TASK_STATUS

Holds the callback Task status.

WF_STATUS

Holds the current state of the Workflow.
For example, Draft, PendingApproval and so on.

AOM Data Field

The AOM Data Fields are automatically created from the entries in the AAI_AOM_APP_COMP_ATTR_MAPPING table. These Data Fields, which are marked as mandatory, will be displayed in the Select Run Parameters window while executing Run Pipeline. For configuring AOM Data Fields, see Configuring Application Object Model (AOM) section.

Viewing Data Fields

This option allows you to view the existing Data Fields.

To view a Data Field

Modifying Data Fields

This option allows you to modify existing Data Fields except System Data Fields.

To modify Data Field

  1. From the Data Fields tab, select the Data Field you want to modify and click Edit. The Data Field Details window is displayed.

  2. Modify the required information. You cannot modify Data field Code. For more information, see Adding Data Field section.

Deleting Data Fields

This option allows you to delete Data Fields except System Data Fields.

To delete a Data Field

  1. From the Data Field tab, select the Data Field you want to delete and click Delete. A confirmation message is displayed.

  2. Click Ok.