


Hi,
I need to count of records , for example, I have 3 transaction in my database activity after split I am getting total number of records show up on arrow (as normally we see) so now I need to get these counts and either put that number in temp schema or any excel file (for reporting purpose) please let me know, thanks for your support.
GUPTAA
Views
Replies
Sign in to like this content
Total Likes
Hello @CSLTGUPTAA ,
You Add javascript code activity and enrichment activity after the split outbound transitions.
Eg.
in your javascript activity, create an instance variable and store counts in it.
Make sure to change the count1 to count2 in second javascript activity.
Then in the enrichment activity just call this count1 like this.
You final output will look like this after the enrichment.
Note: Count value will remains same for the rows.
Let me know if that helps.
Views
Replies
Sign in to like this content
Total Likes
Hello @CSLTGUPTAA ,
You Add javascript code activity and enrichment activity after the split outbound transitions.
Eg.
in your javascript activity, create an instance variable and store counts in it.
Make sure to change the count1 to count2 in second javascript activity.
Then in the enrichment activity just call this count1 like this.
You final output will look like this after the enrichment.
Note: Count value will remains same for the rows.
Let me know if that helps.
Views
Replies
Sign in to like this content
Total Likes
Views
Replies
Sign in to like this content
Total Likes
Views
Replies
Sign in to like this content
Total Likes