Aliasing temporal activities

Is there a way to use the same activity class/interface twice in a Temporal workflow with different names or identifiers, making it easier to distinguish between them in the GUI timeline view?

1 Like

Which SDK do you use? Some of them have a notion of DynamicActivity, which can be used to implement the functionality you want.

1 Like

We use the java sdk

See DynamicActivity.

how would I use it to do the aliasing? Can I see a code sample?