Just for those who would be interested I solved this problem. I was a simple inclusion of a line of code in the python script at the end.
arcpy.SetParameterAsText(0, vName)
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.