code: def after_processing(eng, objects):
          
          super(InvenioProcessingFactory, InvenioProcessingFactory)\
              .after_processing(eng, objects)
          if eng.has_completed:
              eng.save(WorkflowStatus.COMPLETED)
          else:
              eng.save(WorkflowStatus.HALTED)
          db.session.commit()
docs: Process to update status.