'Collect and store any extra non-kb artifacts.'

@flow.StateHandler()
def ProcessKnowledgeBase(self, responses):

    if (not responses.success):
        raise flow.FlowError(('Error    collecting    artifacts:    %s' % responses.status))
    artifact_list = self._GetExtraArtifactsForCollection()
    if artifact_list:
        self.CallFlow(collectors.ArtifactCollectorFlow.__name__, artifact_list=artifact_list, next_state='ProcessArtifactResponses', store_results_in_aff4=True)
    client = self._OpenClient()
    client_index.CreateClientIndex(token=self.token).AddClient(client)
