Skip to content

Latest commit

 

History

History

memo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Steps to run this sample:

  1. Before running this, you need to run Temporal Server 1.18+.

  2. Run the following command to start the worker:

go run ./memo/worker/main.go
  1. Run the following command to start the example:
go run ./memo/starter/main.go
  1. Observe memo in the worker log:
...
2022/09/12 12:36:20 INFO  Current memo values:
description=Test upsert memo workflow
 Namespace default TaskQueue memo WorkerID [email protected]@ WorkflowType MemoWorkflow WorkflowID memo_b1326cd2-5123-4a61-b417-435285dd7214 RunID 38128800-4c41-4d85-ba1a-a26730ebcb47 Attempt 1
2022/09/12 12:36:20 INFO  Workflow completed. Namespace default TaskQueue memo WorkerID [email protected]@ WorkflowType MemoWorkflow WorkflowID memo_b1326cd2-5123-4a61-b417-435285dd7214 RunID 38128800-4c41-4d85-ba1a-a26730ebcb47 Attempt 1