def METHOD_NAME(self, data, parent_data, callback_data=None):
    plugin_code = data.get_one_of_inputs("plugin_code")
    trace_id = data.get_one_of_outputs("trace_id")
    try:
        plugin_client = PluginServiceApiClient(plugin_code)
    except PluginServiceException as e:
        message = _(f"第三方插件client初始化失败, 错误内容: {e}")
        logger.error(message)
        data.set_outputs("ex_data", message)
        return False
    ok, result_data = plugin_client.get_schedule(trace_id)
    if not ok:
        message = (
            f"remote plugin service schedule error: {result_data['message']}, "
            f"trace_id: {result_data.get('trace_id') or trace_id}"
        )
        logger.error(message)
        data.set_outputs("ex_data", message)
        return False
    self._inject_result_data_outputs(data, result_data)
    state = result_data["state"]
    if state == State.FAIL:
        message = _("请通过第三方节点日志查看任务失败原因")
        logger.error(message)
        logger.error(f"[remote plugin service state failed]: {result_data}")
        data.set_outputs("ex_data", result_data["outputs"].get("err") or message)
        return False
    if state in UNFINISHED_STATES:
        setattr(self, "__need_schedule__", True)
    if state == State.SUCCESS:
        self.finish_schedule()
    return True