1

We have a use case in SWF, where we want to segregate SWF workflow executions in different domains per calling clients. We want to reuse the workflow decider code and activity code across all domains without making duplicates. Has anyone tried this before ?

voldegaur
  • 194
  • 2
  • 12
  • Are you planning on using Java and [AWS Flow Framework](https://aws.amazon.com/swf/details/flow/)? I believe that might change the answer. – Kobi Feb 10 '21 at 23:17
  • yes kobi@, we are planning to use AWS Flow framework – voldegaur Feb 15 '21 at 10:32

1 Answers1

0

It depends on your definition of "code reuse". Workflows and activities are code, so you can package the reusable part into its own libraries and reuse them from multiple workflows.

Maxim Fateev
  • 6,458
  • 3
  • 20
  • 35