workflow-foundation-4.5

Workflow Foundation 4.5 “Expression Activity type 'CSharpValue`1' requires compilation in order to run.”

試著忘記壹切 提交于 2020-02-03 08:08:28
问题 I am working through the Getting Started Tutorial for WF45 and have run into a problem that looks to have been experience by other people, but not in the same way that I am experiencing it. I am hoping that someone else has a solution for me. When I work through the Tutorial, all is good till I have to run it from the workflow host. At that point the instantiation of the workflow fail and returns the following message. "Expression Activity type 'CSharpValue`1' requires compilation in order to

Windows Workflow Foundation On-Premise Hosting and Web Api

无人久伴 提交于 2020-01-05 05:48:11
问题 I want to use Windows Workflow Foundation 4.5 and trigger the workflows via web api. What are my hosting options now that MS is ending AppFabric support? Should I even use Windows Workflow Foundation or should I look into a 3rd party solution? This is on-premise and I don't have the ability to use azure. I've done a few workflows and seems like WWF isn't hard to use but it's not clear how to host it. Can I host inside a web api project without AppFabric? My main concern is being able to

WF4.5 Dynamic Update - Issues when updating large, long-running flows with custom activities

放肆的年华 提交于 2019-12-10 10:46:03
问题 I am working on implementing an update process for our large workflows that have the potential to last years, even decades. I'm picking up where previous developers have left off, and, after spending a week trying to get the existing code (based mostly off of Microsoft's provided example) to work, I've scrapped it and built my own WorkflowVersioning utility. While I've been able to successfully update persisted instances to new versions, in testing I've found that various changes can cause

WF 4.5 Bookmarked custom activity not fire persist/unload

柔情痞子 提交于 2019-12-08 10:56:29
问题 I've an application that host WF4.5 workflow in IIS using WorkflowServiceHost, WorkflowServiceHostFactory and WorkflowHostingEndpoint. The workflow is defined by VS 2013 in a .xaml file. In the workflow a have a custom activity for receive input data from a user. Get that using CreateBookmark and the callback for Resume. My problem is: The first activity execute and the workflow instance goes to idle, persist and unload. After resuming the first bookmark the second activity execute an the