- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi @Greeshma_Sampath1 ,
You can use below logic.
1) Use query activity to fetch all the customers. Here your output will have all the records from customer table. Define one variable, : vars.customerId = "1";
2) Add test activity to check if number of records greater than zero.
3) Use 'split' activity. Split all your customers based on different types of customer type. Also customer Id equals to $(vars/@customerId);
Also, add the complimentary branch. This will have all the records other than customer Id 1.
4) Continue with complimentary branch. Use Javascript to increment the vars.customerId variable by 1.
5) Use wait activity. Give wait time of 5 sec. Connect the output branch to Step 2, 'test' activity.
Thanks,
Jyoti