Use the Return system function to immediately exit from a called workflow map (that is, a submap) and return to the calling map.
To specify a Return system function
At the end of every submap, there is an implicit return to the calling map. There is no need to place a step with a Return system function in a submap unless you want to return to the calling map prior to completion of the submap, or to control the return behavior.