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)
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.