What does scheduled_plan_run_once schedule actually do?

Hey,

I am trying to trigger customer created schedule plans as part of a custom made workflow.  For that I am planning to use "scheduled_plan_run_once" method.

My question is whether the schedule plan is being run (a) straight away and the response from "scheduled_plan_run_once" and HTTP 200 means that the schedule plan has been successfully generated and sent OR (b) the request is just validated and, if successfully validated, put in a queue for later delivery?

I initially thought Looker runs it straight away and HTTP 200 means all went well - successfully generated and delivered. But this example https://github.com/looker-open-source/sdk-codegen/blob/ce27df45f0d2cabed1e3c8f7321e95969105edbb/exam... has overturned (confused) me as it is waiting for a "complete" status of the query. Meaning that initial the request from "scheduled_plan_run_once" is put in a queue.

Thanks in advance,
Serge

0 1 49
1 REPLY 1

A follow up question. Does it depend on the delivery method used?