This project is read-only.

Orchard Workflow Activity Service

Topics: General
Nov 18, 2013 at 8: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 19, 2013 at 12:58 AM
This class gives you the list of types of activities, not the actual instances.