examples/

directory
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0

README

Examples

A collection of examples

Applications

Name Description
Authorise Change Request Authorise and implement or reject a change request
Basic Workflow An example of how to use Serverless Workflow to define Temporal Workflows
Child Workflow An example of how to declare and use a child workflow
Competing Concurrent Tasks Have two tasks competing and the first to finish wins
Conditional Workflow Execute tasks conditionally
For loops An example of how to use the for loop task
Money Transfer Demo Temporal's world-famous Money Transfer Demo, in Serverless Workflow form
Multiple Workflows Configure multiple Temporal workflows
Python The basic example, but in Python
Listener Workflow (Query) Listen for Temporal query events
Erroring Workflow Raise a bug
Serverless Workflow Schedule the tasks to be triggered automatically
Custom Search Attributes An example of how to add custom search attribute data into your Temporal calls
Listener Workflow (Signal) Listen for Temporal signal events
Switch Workflow Perform a switch statement
Try/Catch An example of how to catch an erroring workflow
TypeScript The basic example, but in TypeScript
Listener Workflow (Update) 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