Adding the Task Feature Class to Map
The Task feature class is added to Map before sharing it in ArcGIS Online or publishing as a REST service in the ArcGIS Enterprise Server.
Make sure the contents of this Map include only the feature class and not any base maps.