I’ve gained a lot of insight about successfully publishing geoprocessing tools in ArcMap for Web App Builder GP widgets.
All of these lessons are lessons that I wish I knew about before spending time searching Google or on GIS Stack Exchange looking up solutions to the errors I encountered.