Hi Ranjeet,
I have added a screenshot of the way i set up an attach stage there are some variables that i set within the attach stage, this works for me 99% of the time (nothing works 100% of the time 🙂 )
I hope this helps if there is any more info that you have that I can help with let me know 🙂
Lee.