Forum Discussion

bhakti's avatar
bhakti
Contributor
10 years ago

Getting error message Invalid Position of Else operation.

I have tried following still getting error ' invalid position of Else opration'

 

1) Defined else opration after if ...then opration on same level, as shown belwo:

         If.. Then

            Steps

        Else

            Steps

 

2) Set else opration as child of if.... then, as shown belwo:

 

         If.. Then

             Steps

             Else

                Steps

  • bhakti's avatar
    bhakti
    10 years ago

    Hi,

     

    Thankx for sharing screen shot.

     

    Actually i had defined the "Else" loop and  "if..Then" at the same level,   but i hadn't defined the another "If..else" opration under "Else" opration. thats why system was giving error meaasge.

     

    Earlier following was defined which was giving error message:

     

    If .. then

       xyz

    Else

      ABX

     

     

    After making following changes its working fine

     

    If .. then

       xyz

    Else

       If..Then

           ABX