def execute(self): web = WebContainer.get_web() connection_id = web.get_form_value("connection_id") connection = SObjectConnection.get_by_id(connection_id) if connection: connection.delete() self.description = "Deleted connection"