# If this is a 'delete' operation, the account may have been deleted (SUCCESS) or may still exist (FAILED)
# If the account exist, register the HA task.
# Update DB for HA tasks
q_filter = {'_id': account_id}
update_dict = {'_admin.operations.{}.operationState'.format(op_index): operationState,
# If this is a 'delete' operation, the account may have been deleted (SUCCESS) or may still exist (FAILED)
# If the account exist, register the HA task.
# Update DB for HA tasks
q_filter = {'_id': account_id}
update_dict = {'_admin.operations.{}.operationState'.format(op_index): operationState,