我想根据以下标准检索以下自定义工作流程Contacts
。在自定义工作流的参数中列出<>?
[Input("Retrieve customers whose renewal date is lesser or equal than today + X days")]
public InArgument<int> Days { get; set; }
[Input("For which service?")]
public InArgument<string> Service { get; set; }
而且我希望它返回如下:
[Output("Customers up for renewal")]
public OutArgument<List<Contact>> Customers{ get; set; }
我的想法是,另一个工作流步骤将通过这一工作流程什么回报(Customers
)循环。
但当我注册了装配,上述步骤无法注册,因为:
The type OutArgument`1 of the property Customers is not supported
支持哪些类型的参数呢? MSDN没有告诉我多少,是我返回一个列表错误的概念还是一个工作流程一次只能处理一条记录?
谢谢。
您可以返回包含联系人的新静态营销列表。也许不是最佳的,不知道你的整个情况,但没有工作 – 2014-11-05 16:45:42
@GuidoPreite你可以详细解释一个答案吗?我在上面发布的MSDN链接中看不到这种类型。谢谢。 – 2014-11-05 16:51:00