how to have multiple SWF domain share the same workflow decider and activity code

81 views Asked by At

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 ?

1

There are 1 answers

0
Maxim Fateev On

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.