parameters: (self)
docstring: The command must have operated on an sobject with a pipeline and
          the operation must have been done on a process in that pipeline
docstring_summary: The command must have operated on an sobject with a pipeline and
          the operation must have been done on a process in that pipeline
docstring_tokens: The command must have operated on an sobject with a pipeline and the operation must have been done on a process in that pipeline
function: def notify_listeners(self):
          '''The command must have operated on an sobject with a pipeline and
          the operation must have been done on a process in that pipeline'''
  
          # find the sobject that this command operated on
          sobjects = self.get_sobjects()
          if not sobjects:
              return
  
          sobject = sobjects[0]
          if not sobject.has_value("pipeline_code"):
              return
  
  
          # we have sufficient information
          current_pipeline_code = self.get_pipeline_code()
          if not current_pipeline_code:
              current_pipeline_code = sobject.get_value("pipeline_code")
  
  
          current_process = self.get_process()
          event = self.get_event_name()
          if not current_pipeline_code or not current_process:
              return
          # get the pipelne (for in pipeline process)
          pipeline = Pipeline.get_by_code(current_pipeline_code)
          self.handle_pipeline(pipeline, current_process, event)
function_tokens: def notify_listeners ( self ) : # find the sobject that this command operated on sobjects = self . get_sobjects ( ) if not sobjects : return sobject = sobjects [ 0 ] if not sobject . has_value ( "pipeline_code" ) : return # we have sufficient information current_pipeline_code = self . get_pipeline_code ( ) if not current_pipeline_code : current_pipeline_code = sobject . get_value ( "pipeline_code" ) current_process = self . get_process ( ) event = self . get_event_name ( ) if not current_pipeline_code or not current_process : return # get the pipelne (for in pipeline process) pipeline = Pipeline . get_by_code ( current_pipeline_code ) self . handle_pipeline ( pipeline , current_process , event )