How do I make a method return a Decisions List?

How do I make a method return a Decisions List?

Comments

  • Hello,

    Im working on some C# code using the sdk. Some of the methods return lists of objects. For example, I have a UserGroup class, and the GetUserGroups method returns List. When I look at the step in the workflow designer, it shows the return type as [i]System.Collections.Generic.List`1[Users.UserGroup][/i] Is there any way for me to declare the signature of the method so it shows up as a List like most of the other step types do?

  • Peanut,

    You want to return an array instead of a list.

Sign In or Register to comment.