code: def after_sample(analysis_request):
      
      analysis_request.setDateSampled(DateTime())
      idxs = ['getDateSampled']
      for analysis in analysis_request.getAnalyses(full_objects=True):
          analysis.reindexObject(idxs=idxs)
docs: Method triggered after "sample" transition for the Analysis Request
      passed in is performed