question: private void addExportAddVolumeSteps ( Workflow workflow , ProtectionSystem rpSystem , URI exportGroupID , Map < URI , Integer > snapshots ) throws InternalException { ExportGroup exportGroup = _dbClient . queryObject ( ExportGroup . class , exportGroupID ) ; String exportStep = workflow . createStepId ( ) ; initTaskStatus ( exportGroup , exportStep , Operation . Status . pending , "export add volume" ) ; Map < URI , Map < URI , Integer > > storageToBlockObjects = getStorageToBlockObjects ( snapshots ) ; for ( Map . Entry < URI , Map < URI , Integer > > entry : storageToBlockObjects . entrySet ( ) ) { _log . info ( String . format ( "Adding workflow step to add RP bookmark and associated target volumes to export.  ExportGroup: %s, Storage System: %s, Volume Map: %s" , exportGroup . getId ( ) , entry . getKey ( ) , entry . getValue ( ) ) ) ; _exportWfUtils . generateExportGroupAddVolumes ( workflow , null , STEP_ENABLE_IMAGE_ACCESS , entry . getKey ( ) , exportGroupID , entry . getValue ( ) ) ; } _log . info ( "Finished adding export group add volume steps in workflow: " + exportGroup . getId ( ) ) ; }
target:  Method that adds the export snapshot step for a single volume