3.4 Graph Use Case

This section describes the post-installation steps for Graph use case.

To perform post-installation activity for Graph:
  1. Navigate to the <COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/ficdb/graphmetadata/bin directory.
  2. To initialize the OOB graph (FINANCIAL_CRIME_GLOBAL_GRAPH) schema, execute the following.
    ./InitializeECMSchema.sh -w <ecm_schema_wallet_alias>
  3. To initialize the graph schema, execute the following.
    ./InitializeGraphSchema.sh -gw <graph_wallet_alias> -es <ecm_schema_name>
Auto Scheduling of Transactional Tasks in the Graph Batch

This section explains how to set up batch deltas to run for a specified period of time relative to the system date.

If you are initializing "FINANCIAL_CRIME_GLOBAL_GRAPH" schedule with matching component enabled, then execute the following command.
./InitializeOOBGraphBatchScheduleECM.sh -ew <datasource name of the ECM atomic schema> -sdg <Start-day-gap> -edg <End-day-gap> -gd <graph_datasource> -u <complianceStudioUserName>
The sample script for Weekly, Monthly, Yearly and, Periodically is given in the following table.

Table 3-3 Schedule Transactional Task

Batch Schedule Sample Script
Weekly (7 Days) ./InitializeOOBGraphBatchScheduleECM.sh -ew <datasource name of the ECM atomic schema> -sdg 7 - edg 0 -gd <graph_datasource> -u <complianceStudioUserName>

For example, SYSDATE/ Current Date is 20/12/24 and you need to load one week data then use the following logic.

Start Day Gap: 2024_12_20 - 7 = 2024_12_13

End Day Gap: 2024_12_20 - 0 = 2024_12_20

The transaction data from 2024_12_13 (12:00:00 AM) to 2024_12_19 (11:59:59 PM) will be considered for processing. As 2024_12_20 is the current date, complete data for the same date is not yet available in the Banking Domain for processing.

Monthly (30 Days) ./InitializeOOBGraphBatchScheduleECM.sh -ew <datasource name of the ECM atomic schema> -sdg 30 - edg 0 -gd <graph_datasource> -u <complianceStudioUserName>
Yearly (365 Days) ./InitializeOOBGraphBatchScheduleECM.sh -ew <datasource name of the ECM atomic schema> -sdg 365 - edg 0 -gd <graph_datasource> -u <complianceStudioUserName>
Periodically ./InitializeOOBGraphBatchScheduleECM.sh -ew <datasource name of the ECM atomic schema> -sdg 21 -edg 1 -gd <graph_datasource> -u <complianceStudioUserName>

For example, Suppose today's date is 2024_12_20 and users want to load data from 2024_11_29 to 2024_12_18 (both dates are inclusive).

You are running a batch on 2024_12_20, therefore end-day-gap should be given as edg=1 and start-day-gap should be given as -sdg=21 where number of days between two dates is 22.

If you are initializing "FINANCIAL_CRIME_GLOBAL_GRAPH" schedule with matching component disabled, then execute the following command.
./InitializeOOBGraphBatchScheduleECM.sh -ew <datasource name of the ECM atomic schema> -gd <graph_datasource> -sdg <Start-day-gap> -edg <Enddaygap> -u <complianceStudioUserName> -sm