11.1 Pre-configuration Activities

This section describes the Pre-configuration Activities.

Before creating a workflow, the appropriate action and status should be present in the system. To perform this, you must add the entries in the respective application tables.

Configuring Status

The following are the pre-configuration activities for status:

  • Add a new status if the required status is not seeded.
    • To add a new status, add the entries in AAI_WF_STATUS_B and AAI_WF_STATUS_TL tables of the Config Schema.
    • The package ID should be OFS_NGECM.
  • Add the same entries in the KDD_STATUS table of the Atomic Schema.

Configuring Action

Add a new action if the required action is not seeded. For more information on configuring the action, see the Configuring Actions.

Note:

If you want to configure a new report type, you must add a new PMF action to the KDD_RRS_ACTN table. If the report type is based on the CRR framework, set the FRAMEWORK_ENABLE_FL parameter to Y.
For example:
insert into kdd_rrs_actn (ACTN_CD, ACTN_DESC_TX, ACTN_ERR_CD, SUPPL_RPT_FL, CRCTD_RPT_FL, ACTN_DT, RPT_TYPE_CD, FRAMEWORK_ENABLE_FL) values ('CA945S', null, 'CA264', 'N', 'N', null, 'SAR', null);

Configuring Attributes

You can define a new attribute that is used in the Attribute Expression Application Rule. These attributes are used for status changing actions in the Attribute Expression. Each attribute is identified with an ID APP_COMP_ATTR_MAP_ID, based on which the values for attributes can be fetched. To perform this, you must add the entries in the AAI_AOM_APP_COMP_ATTR_MAPPINGtable. The following is the format of this table:

Table 11-1 Configuring Attributes

Column Name Description Example
APP_COMP_ATTR_MAP_ID App ID of the attribute
N_ATTRIBUTE_ID The ID of the attribute
V_ATTR_CODE Name of the attribute
N_ATTR_TYPE_ID

The ID of the attribute type. Thevalues of the attributes are fetched based on the attribute type.

1001- Static

1002- Query

1003- JavaAPI

For more information, see the

Attribute Types.

V_ATTRIBUTE_VALUE1 V_ATTRIBUTE_VALUE2 Values to be fetched for the attribute. Based on the attribute type, you need to pass the values.

t.action_cd,t.action_nm

t.action_category_code

t.action_catego-

ry_code

t.status_cd,t.sta- tus_nm

s.v_role_code,s.v_role_cod e

s.v_function_code = 'CMACCESS

N_APP_ID Application code for which the current attribute is configured.
N_COMP_ID Component code for which the attribute is configured.
V_UDP_CODE Special property is used by applications (user-defined). For example, ‘GET_STATUS’ –to get the status for the workflow.
  1. Add the values in N_ATTRIBUTE_ID and V_ATTR_CODE columns. Here, the values of attributes are fetched based on the attribute types. Following are the attribute types with their IDs:

    Table 11-2 Attribute Types

    Attribute Type ID Attribute Type Name Description
    1001 Static Store attribute values in the AAI_AOM_STATIC table as V_STATIC_ID and V_STATIC_VAL.
    1002 Query

    Enter the SQL query in V_ATTRIBUTE_VALUE1 in the AAI_AOM_APP_COMP_ATTR_MAPPING table, which has to be fired to fetch the attribute values.

    1003 Java API Enterthe method that is configured for V_ATTRIBUTE_VALUE1 for the required attribute. The configured method in the classpath is invoked to get the attribute values in this case.
  2. Define the query for the attribute in the V_ATTRIBUTE_VALUE1 column.

After the attribute is defined, you can access this using the Application Rule “Attribute Expression”.