Fixed issue where named activities couldn't be used with Then() (#129)
This commit is contained in:
parent
75839a0ddb
commit
6e352ebed3
|
|
@ -80,7 +80,7 @@ namespace Elsa.WorkflowBuilders
|
|||
var activityBuilder = new ActivityBuilder(this, activityBlueprint);
|
||||
var activityDescriptor = ActivityDescriber.Describe<T>();
|
||||
|
||||
activity.Name = name;
|
||||
activityBuilder.Name = name;
|
||||
activityBuilder.DisplayName = activityDescriptor.DisplayName;
|
||||
activityBuilder.Description = activityDescriptor.Description;
|
||||
activityBuilders.Add(activityBuilder);
|
||||
|
|
|
|||
Loading…
Reference in a new issue