Importance of WORKFLOW_LINKAGE table in IBM Sterling B2B Integrator(SBI).
Technical Blog Post
Abstract
Importance of WORKFLOW_LINKAGE table in IBM Sterling B2B Integrator(SBI).
Body
In SBI, the WORKFLOW_LINKAGE table stores information about the Parent and the Child Business Process(BP). Let us consider the BPs Parent_BP and Child_BP
<process name="Parent_BP">
<sequence name="Loop">
<operation name="Invoke Business Process Service">
In the background, this execution not only creates an entry for itself in the WORKFLOW_CONTEXT table, but also creates the information about the parent and the child BP link in the WORKFLOW_LINKAGE table.
SELECT *FROM WORKFLOW_CONTEXT WHERE WORKFLOW_ID='139248'
SELECT *FROM WORKFLOW_CONTEXT WHERE WORKFLOW_ID='139249'
SELECT *FROM WORKFLOW_LINKAGE WHERE P_WF_ID='139248'
After the Schedule_Purge service purges this parent and child BPs from the system, the information available in the WORKFLOW_LINKAGE table for this parent and child BP also has to be removed. This is taken care of the system schedule - BPLinkagePurgeService.This schedule kicks off Schedule_BPLinkagePurgeService BP by default every day at 2:30 AM.
The status report at the Business Process Linkage Data Purge service is as shown below, as per this screen shot the Schedule_BPLinkagePurgeService has purged 94 records from the WORKFLOW_LINKAGE table.
If the WORKFLOW_LINKAGE table is huge, this schedule can be run at frequent intervals and also there are parameters available in the BPLinkagePurge Service which can be tuned to purge more records from the WORKFLOW_LINKAGE table.The below tech note provides more information about the same.