examples/

directory
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

README

Examples

A collection of examples

Applications

Name Description
Activity Call Invoke an external Temporal activity from Zigflow
Authorise Change Request Authorise and implement or reject a change request
Basic An example of how to use Serverless Workflow to define Temporal Workflows
Child Workflows Define multiple workflows and call a child workflow from a parent
Competing Concurrent Tasks Have two tasks competing and the first to finish wins
Conditional Tasks Execute tasks conditionally
External Calls An example of how to use Zigflow to make external gRPC and HTTP calls
For How to use the for loop task
Heartbeat Set activity heartbeat. Useful on long-running activities.
Hello World Hello world with Zigflow
Hello World Encrypted Hello world with Zigflow, but encrypted
Money Transfer Demo Temporal's world-famous Money Transfer Demo, in Zigflow form
Multiple Workflows Configure multiple Temporal workflows from a single Zigflow definition
Python The basic example, but in Python
Query Listeners Listen for Temporal query events
Throw an error Throw an error from a Temporal workflow
Run Task How to execute code in NodeJS, Python and Shell
Scheduling Schedule the tasks to be triggered automatically
Custom Search Attributes How to add custom search attribute data into your Temporal workflows
Signal Listeners Listen for Temporal signal events
Switching Perform a switch statement
Try/Catch An example of how to catch an erroring workflow
TypeScript The basic example, but in TypeScript
Update Listeners Listen for Temporal update events

Running

These commands should be run from the root directory

The NAME variable should be set to the example you wish to run (eg, basic)

Running the worker
make worker NAME=<example>
Starting the workflow
make start NAME=<example>

Jump to

Keyboard shortcuts

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