How to return EntityCollection as Outparameter custom activity
问题 [ReferenceTarget("contact")] public InOutArgument<EntityReference> PartyList{ get; set; } How can I return/send a list of ActivityParty or a EntityCollection from a custom CodeActivity back to the workflow step? Inside my execute method, when I return an EntityCollection or a List I get a type conversion error. From the responses below - I wanted to add some clarification: How can I pass any collection back, I see the list is limited - I was looking for a workaround. Since EntityReference was