activity-call

command
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

README

Activity Call

Invoke existing Temporal activities directly from the DSL using the call: activity task type.

Getting started

You need two workers:

  1. DSL worker – loads the workflow definition and runs the workflow logic.
  2. Activity worker – registers the concrete activities that the DSL calls on the dedicated activity-call-worker task queue.
1. Start the DSL worker
make worker NAME=activity-call
2. Start the activity worker
cd examples/activity-call
go run ./worker
3. Start the workflow

With both workers running, trigger the workflow with any input:

cd examples/activity-call
go run .

You should see structured profile data and the generated welcome message in the output payload.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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