Orchard Workflow Activity Service

Topics: General
Nov 18, 2013 at 7:39 PM
Any reason why the method GetActivityByName(string name) inside ActivitiesManagers.cs only returns a single activity? Based on the table and workflow rules, you can add more than one type of activity. These similar activities all have the same name. This would result is only getting the first one of the list. Bug or am I missing something?
 public IActivity GetActivityByName(string name) {
        return _activities.FirstOrDefault(x => x.Name == name);
Nov 18, 2013 at 11:58 PM
This class gives you the list of types of activities, not the actual instances.