I have a function that returns true even though the procedure is not properly executed. Below is the function used to call the procedure. This function/task must be executed