Open mfateev opened 3 years ago
Also consider feature request made in #467 we might be able to come up with a solution that addresses both at the same time.
We also need this feature; any suggestion on how to implement the same.
Capturing our requirement.
Is there a workaround or can we Map same Activity in Worker to Renamed Activities in Workflow Implementation call. Please suggest... where to make this code change in Java SDk
Thanks in advance Krishnendu
Hi @mfateev Any suggestions on implementation approach. Thank you.
I have two approach in mind:
Thank you Krishnendu
@kkuntim From your requirements it sounds like you want activity names to be generated dynamically base on the activity input? Activity names must be know at worker startup time for routing so this feature cannot meet your requirements.
I think this issue to allow passing some metadata with commands would be a better fit. We could allow passing along a label
metadata field for activities and child workflows that you could specify how you want and use in the UI.
I believe you can implement this logic by implementing custom WorkflowOutboundCallsInterceptor.
Is your feature request related to a problem? Please describe. The activity type name is automatically generated from its method name. Different users of the SDK have different opinions on how this name should be generated. For example, see this forum post.
Describe the solution you'd like The proposal is to make activity name generation pluggable through ClientOptions and WorkerOptions. This way each user can implement its own standard to name activities automatically.