Professional Documents
Culture Documents
Process Total Number of Records in Two Parts and Load It Based Upon Session Run
Process Total Number of Records in Two Parts and Load It Based Upon Session Run
Process Total Number of Records in Two Parts and Load It Based Upon Session Run
Step2: Create Aggregator Transformation (Create two output ports Count_emp count(emp_id) and
Dummy 1)
Step3: Create Expression transformation for second flow and create an output port Dummy1 1
Step4: Create Joiner transformation (use normal join and condition Dummy = Dummy1)
Drag and drop all the columns from joiner to expression.
Naga
REC_CNT OLD_REC_CNT+1
OLD_REC_CNT REC_CNT
REC_ID REC_CNT
HALF_REC ROUND (COUNT_EMP/2)
Now create a mapping variable (mappings tab Parameters and variables) as integer and initial value 1
Naga
Now Create Router transformation, create two groups and apply the logic
Connect to one target by taking two instances (I have taken two different targets)
Go to workflow manager
Naga
Create a workflow variable ($$SESSION_RUN) and initial value 1 by editing the workflow
Naga
Goto session properties component tab
IIF($$SESSION_RUN=1,$$SESSION_RUN+1,$$SESSION_RUN-1)
Naga
Link the task from session to assignment.
Naga