tracking

package
v1.0.60 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteTrackWorkflowStart

func ExecuteTrackWorkflowStart(ctx workflow.Context, input TrackWorkflowStartInput)

ExecuteTrackWorkflowStart is a helper function to be called at the start of each workflow It executes a local activity to save the workflow execution to the database

Types

type TrackWorkflowStartActivityInput

type TrackWorkflowStartActivityInput struct {
	WorkflowID    string
	RunID         string
	WorkflowType  string
	TaskQueue     string
	TenantID      string
	EnvironmentID string
	CreatedBy     string
	Metadata      map[string]interface{}
}

TrackWorkflowStartActivityInput is the input for the tracking activity

type TrackWorkflowStartInput

type TrackWorkflowStartInput struct {
	WorkflowType  string
	TaskQueue     string
	TenantID      string
	EnvironmentID string
	UserID        string
	Metadata      map[string]interface{}
}

TrackWorkflowStartInput contains the parameters for tracking a workflow start

Jump to

Keyboard shortcuts

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