Hi everyone.
I have a problem with a Minimum cost Distance Model Builder. When I used as Feature Class my initial and final point my model works. However, when I set as Feature Set to give users the option to mark points into the map my model is not working. Below is the scheme.

On the screen was the below messages:
ERROR 010045: COSTPATH: The number of FROM cells is 0.
Failed to execute (Cost Path). and this error ERROR 010151: No features found in in_memory\{58906A19-A816-4D6A-A9DC-CE9B2E365A82}. Possible empty feature class.