public String addStepToCreateSnapshotSession(Workflow workflow,URI systemURI,URI session,String repGroupName,String waitFor){
  String stepId=workflow.createStep(BlockDeviceController.CREATE_SNAPSHOT_SESSION_STEP_GROUP,String.format("Creating block snapshot session"),waitFor,systemURI,getDeviceType(systemURI),getClass(),createBlockSnapshotSessionMethod(systemURI,session,repGroupName),rollbackMethodNullMethod(),null);
  return stepId;
}

public String addStepToCreateSnapshotSession ( Workflow workflow , URI systemURI , URI session , String repGroupName , String waitFor ) { String stepId = workflow . createStep ( BlockDeviceController . CREATE_SNAPSHOT_SESSION_STEP_GROUP , String . format ( "Creating block snapshot session" ) , waitFor , systemURI , getDeviceType ( systemURI ) , getClass ( ) , createBlockSnapshotSessionMethod ( systemURI , session , repGroupName ) , rollbackMethodNullMethod ( ) , null ) ; return stepId ; }
adds the step to create block snapshot session .
