Skip to content

indeedeng/iwf-golang-sdk

Repository files navigation

iWF Golang SDK

Go Reference Go Report Card Coverage Status

Build status

Golang SDK for iWF workflow engine

See samples for how to use this SDK.

Contribution

See contribution guide

Development Plan

1.0

  • Start workflow API
  • Executing start/decide APIs and completing workflow
  • Parallel execution of multiple states
  • Timer command
  • Signal command
  • SearchAttribute
  • DataAttributes
  • StateExecutionLocal
  • Signal workflow API
  • Get workflow result API
  • Search workflow API
  • Describe workflow API
  • Stop workflow API
  • Reset workflow API
  • Command type(s) for inter-state communications (e.g. internal channel)
  • More workflow start options: IdReusePolicy, cron schedule, retry
  • StateOption: Start/Decide API timeout and retry policy
  • Reset workflow by stateId/StateExecutionId
  • More workflow start options: initial search attributes

1.1

  • Skip timer API for testing/operation
  • Decider trigger type: any command combination

1.2

  • API improvements to reduce boilerplate code

1.3

  • Support failing workflow with results
  • Improve workflow uncompleted error return(canceled, failed, timeout, terminated)

1.4

  • Renaming some concepts/APIs with breaking changes(see release notes)
  • Support workflow RPC
  • PARTIAL_WITH_EXCLUSIVE_LOCK persistence loading type