In the previous reply, The REST request is executed again and again if the phone number is not equal to the desired value from its response.
Ideal use case that, a rest request ( can be other requests as well) can generate an event in the application. And later user like make another request to know the status of the event, say got the status as in progress in the response and it may take a while to complete the event. However, user can only proceed and do further operations only if the event is complete. So here user need check if the status is not complete then again get the event status after a specific delay. If the status is complete then then proceed.
So have two conditions defined here, what to do if event is complete and not complete.
Conditional GOTO works as if .. else block in programming.