List 自定义工作流活动-返回集合还是数组?
对于MS CRM 2011,我创建了自定义工作流活动,但我无法将其注册,因为我试图将其作为输出参数返回List 自定义工作流活动-返回集合还是数组?,list,android-activity,workflow,dynamics-crm-2011,List,Android Activity,Workflow,Dynamics Crm 2011,对于MS CRM 2011,我创建了自定义工作流活动,但我无法将其注册,因为我试图将其作为输出参数返回 OutArgument<IEnumerable<EntityReference>> OutArgument 这可能不受支持 如何返回集合或实体引用数组 谢谢您可以返回自定义工作流。不幸的是,IEnumerable不在列表中:(您最多只能一次定义一个引用: [Input("EntityReference input 1")] [Output("Enti
OutArgument<IEnumerable<EntityReference>>
OutArgument
这可能不受支持
如何返回集合或实体引用数组
谢谢您可以返回自定义工作流。不幸的是,
IEnumerable
不在列表中:(您最多只能一次定义一个引用:
[Input("EntityReference input 1")]
[Output("EntityReference output 1")]
[ReferenceTarget("account")]
[Default("3B036E3E-94F9-DE11-B508-00155DBA2902", "account")]
public InOutArgument<EntityReference> AccountReference { get; set; }
[Input("EntityReference input 2")]
[Output("EntityReference output 2")]
[ReferenceTarget("contact")]
[Default("4C036E3E-94F9-DE11-B508-00155DBA2902", "contact")]
public InOutArgument<EntityReference> AccountReference { get; set; }
• Bool
• DateTime
• Decimal
• Double
• EntityReference
• Int
• Money
• OptionSetValue
• String