export

package
v1.1.59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecuteExportWorkflowInput

type ExecuteExportWorkflowInput struct {
	ScheduledTaskID string
	TenantID        string
	EnvID           string
	UserID          string // User who triggered the workflow (empty for scheduled runs)
	// Optional custom time range for force runs
	CustomStartTime *time.Time
	CustomEndTime   *time.Time
}

ExecuteExportWorkflowInput represents input for the export workflow

type ExecuteExportWorkflowOutput

type ExecuteExportWorkflowOutput struct {
	TaskID      string
	FileURL     string
	RecordCount int
	Success     bool
}

ExecuteExportWorkflowOutput represents output from the export workflow

func ExecuteExportWorkflow

func ExecuteExportWorkflow(ctx workflow.Context, input ExecuteExportWorkflowInput) (*ExecuteExportWorkflowOutput, error)

ExecuteExportWorkflow performs the complete export workflow This is the single unified workflow that: 1. Fetches scheduled task configuration 2. Creates a task record 3. Exports the data 4. Updates both task and scheduled task statuses

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL