code: def after_submit(analysis):
      
      # Mark this analysis as ISubmitted
      alsoProvides(analysis, ISubmitted)
  
      # Promote to analyses this analysis depends on
      promote_to_dependencies(analysis, "submit")
  
      # TODO: REFLEX TO REMOVE
      # Do all the reflex rules process
      if IRequestAnalysis.providedBy(analysis):
          analysis._reflex_rule_process('submit')
  
      # Promote transition to worksheet
      ws = analysis.getWorksheet()
      if ws:
          doActionFor(ws, 'submit')
          push_reindex_to_actions_pool(ws)
  
      # Promote transition to Analysis Request
      if IRequestAnalysis.providedBy(analysis):
          doActionFor(analysis.getRequest(), 'submit')
          reindex_request(analysis)
docs: Method triggered after a 'submit' transition for the analysis passed in
      is performed. Promotes the submit transition to the Worksheet to which the
      analysis belongs to. Note that for the worksheet there is already a guard
      that assures the transition to the worksheet will only be performed if all
      analyses within the worksheet have already been transitioned.
      This function is called automatically by
      bika.lims.workfow.AfterTransitionEventHandler