Skip to content

Defer with document

Use the BTU Run Later DocType for Desk-visible deferred execution.

Steps

  1. Ensure Run Later poller is configured.
  2. Create BTU Run Later:
  3. Function path and arguments
  4. Hold Until datetime
  5. Queue name
  6. Execution status: Pending Future
  7. Poller picks it up when hold_until <= now.

Public API

create_doc_run_later() in btu.btu_core.run_later creates documents programmatically with the same fields.

Verify

Row transitions Pending Future → In-Progress → Success/Failed; linked Task Log when complete.

See Desk → BTU Run Later.