Error in variable when placed as integer in scope

Hey @Smit_Jain ,

Kindly refer below thread

It has a similar issue to yours
I hope it helps you.