Possible to set activity Name during execution?

Is it possible to set activity name dynamically during the execution?

If you are you asking for

Workflow invoking an activity by its string name

Then use:

      ActivityStub activity = Workflow.newUntypedActivityStub(options);
      String activityResult = activity.execute("<activityTypeName>", <ActivityResultType>.class, <args>...);

or for

A worker supporting an activity that it doesn’t implement yet

then use