简体   繁体   中英

.NET Workflow issue

I am calling my WF:

        Workflow1 wf = new Workflow1()
                           {
                               ChildrenOption = true,
                               Market = "english",
                               Server = new Uri("http://mysite"),
                               SPTags = dataToUpdate,
                           };
        WorkflowInvoker.Invoke(new Workflow1());

But for some reason I am getting this exception, why? Any other way how I can invoke wf to avoid this problem?

Values must be bound to a non-null expression before ParallelForEach activity 
'ParallelForEach<KeyValuePair<Tuple<String,String,String>,ZalupaTag>>' can be used.

看来Workflow1中有一个ParallelForEach活动,但您没有为其提供Values属性的集合。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM