Greetings,
SmartObject excepts 2 input parameters based on which I get Destination user list return. So, I have create a SmartObject method, whose return type is list. But SmartObject datatype don't have, datatype as list. So I have defined a generic list object.
When I am testing the smartObject using SmartObjectTester.exe I am able to get the list of destination user. When I integrate the same with a workflow I am getting the error "Item not found in collection”, what could be the possible defect. In workflow I have a property declare as Text to get the destination user list.
Sample code:
"Method("UserList", MethodType.List, "Get destination user list", "Get destination user list"
, new string] { "RefId", "EntID"}, new stringI] { "RefId", "EntID"}, new stringI] { "DomainId }
)]
public List<DestinationUser> GetDestinationUser(){}