Hi @shaikha93
Totally agree with Sundeep_Malik's comment.
Apply to each is an action for the array, its role is to traverse each record in the array.
If you want to use Apply to each, make sure the data you fill is an array and nothing else.
You can provide screenshots of your needs and process so that we can help you better.
I think this link will help you a lot:
manueltgomes.com
Best Regards,
Levi