workflows

package
v1.0.34 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

internal/temporal/workflows/price_sync.go

Index

Constants

View Source
const (
	// Workflow name - must match the function name
	WorkflowPriceSync = "PriceSyncWorkflow"
	// Activity name - must match the registered method name (just "SyncPlanPrices")
	ActivitySyncPlanPrices = "SyncPlanPrices"
)
View Source
const (
	// Workflow name - must match the function name
	WorkflowTaskProcessing = "TaskProcessingWorkflow"
	// Activity names - must match the registered method names
	ActivityProcessTask = "ProcessTask"
)

Variables

This section is empty.

Functions

func HubSpotDealSyncWorkflow added in v1.0.34

func HubSpotDealSyncWorkflow(ctx workflow.Context, input models.HubSpotDealSyncWorkflowInput) error

HubSpotDealSyncWorkflow orchestrates the HubSpot deal synchronization process Steps: 1. Create line items in HubSpot deal 2. Sleep for 10 seconds to allow HubSpot to recalculate ACV 3. Update deal amount with the calculated ACV

func PriceSyncWorkflow added in v1.0.23

func TaskProcessingWorkflow added in v1.0.27

TaskProcessingWorkflow processes a task asynchronously

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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