Avatar

Correct answer by
Community Advisor

Hello @CSLTGUPTAA ,

 

You Add  javascript code activity and  enrichment activity after the split outbound transitions.

 

Eg.

_Manoj_Kumar_0-1595236378241.png

 

in your javascript activity, create an instance variable and store counts in it.

_Manoj_Kumar_1-1595236438336.png

Make sure to change the count1 to count2 in second javascript activity.

 

Then in the enrichment activity just call this count1 like this.

_Manoj_Kumar_2-1595236504606.png

 

You final output will look like this after the enrichment.

_Manoj_Kumar_3-1595236576033.png

 

 

Note: Count value will remains same for the rows.

 

Let me know if that helps.

 

 

 

View solution in original post