workflow-foundation

MS WF state machine workflows and MS CRM Dynamics 4.0

做~自己de王妃 提交于 2019-12-19 17:48:13
问题 MS CRM Dynamics 4.0 incorporates the MS WF engine. The built in designer allows the creation of sequential workflows whos activities have native access to CRM entities. Is it possible to: Create a state machine workflow outside of CRM (i.e. in visual studio) and import it into CRM? Have this workflow access the CRM entities? 回答1: It is NOT possible to create a state machine workflow for use in MSCRM. It is also not supported to create any workflow outside of MSCRM and import it. As a work

How to set “Specific Version” property for project references in Visual Studio

ぃ、小莉子 提交于 2019-12-19 17:13:23
问题 I have got a Visual Studio Solution containing several projects and have set up the references between the projects as project references. When a reference to an assembly is added, the references' properties contain a setting for Specific Version = True|False This property is missing for project references. How can it be set? I'd like my solution to load any available assembly (no matter what version) in the bin folder. I've had a problem when a workflow instance (Workflow Foundation) was

WF4.5 not compiling side-by-side c# workflows

感情迁移 提交于 2019-12-19 10:15:46
问题 I have an IIS hosted xamlx workflow with c# expressions that I'm trying to run in side-by-side versioning. I did exactly like this article: Side by side versioning of workflow services New instances of the workflow works as expected, but when I call an instance of a prior version of the workflow, it raises an error telling me that it's not compiled. Error: Unable to locate the ICompiledExpressionRoot for compiled location 'auxData'. Make sure that the definition for the activity containing

Delay activity not always working in Sharepoint 2010 workflow

為{幸葍}努か 提交于 2019-12-19 03:22:50
问题 Currently we have a sequential workflow in sharepoint 2010 that has a delay activity. The delay is set to five minutes. The workflow checks on the status of five tasks and depending on the results, it either delays or completes. I have a workflow history log item set to write right before the delay and right after the delay. Sometimes the delay does not fire, an example would be as follows: Delay activity fires every five minutes for 3 full days on one item, then for no particular reason it

Is MSBuild going to be dead because of Windows Workflow? [closed]

强颜欢笑 提交于 2019-12-18 19:02:34
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . MSBuild in TFS 2010 has been replaced by Windows Workflow 4.0. It means when you are creating a Build Definition, you won't have a

Why use Windows Workflow? [closed]

ぐ巨炮叔叔 提交于 2019-12-17 17:39:31
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . What is the benefit of using Windows Workflow foundation (WF) versus rolling your own workflow framework? From what I can tell, WF only provides a pretty bare-bones runtime engine, a bunch of classes, and a schema (XAML-based) for defining workflows. All the hard stuff such

ReflectionTypeLoadException

别等时光非礼了梦想. 提交于 2019-12-14 01:41:48
问题 When I try to build My WF project I get this error. I've found that removing System.Activities.Presentation solves this error. If I get this error at runtime, I can investigate LoaderExceptions to find out about the root problem. How can do the same when I get this error at compile time? Alternatively, does anybody know how to solve this particular problem? Extension 'Microsoft.Activities.Build.Validation.ValidationBuildExtension' threw an exception of type 'System.Reflection

WWF: SqlWorkflowInstanceStoreBehavior verus SqlWorkflowInstanceStore

本小妞迷上赌 提交于 2019-12-13 04:39:49
问题 I have a Windows Service wrapping a WCF Service, which contains a WorkflowApplication, which runs Activities. I have also configured SQL Server 2008 Express (I know, it's approaching EOL, but the documentation explicitly states that only SQL Server 2005 or SQL Server 2008 are supported) to host the database and the connection works . To be even clearer: The entire process of the Activity completes and receives the return (I'm calling it via the WCF client wrapped in PowerShell). The issue

What is WPF equivalent of Windows Forms Region.Xor in Paint event?

点点圈 提交于 2019-12-13 04:35:04
问题 I'm trying to move this WinForms code to WPF, but there is no Paint event. private void OnPaint(object sender, PaintEventArgs e) { var region = new Region(new Rectangle(0, 0, this.Width, this.Height)); var rectangle = new Rectangle(0, 0, 50, 50); region.Xor(rectangle); e.Graphics.FillRegion(Brushes.Black, region); } 回答1: WPF doesn't work like WinForms in terms of graphics. You can't actually draw shapes, you have to place them into your content. Geometry should serve as a good replacement for

Modifying a column in DGV to be a Combobox Bound to DataBase

不想你离开。 提交于 2019-12-13 04:23:24
问题 I created a view named "FamilyView" to join 2 tables(Families and SStatus) and replace an id in the first table(Families) by its name existing in the second table(SStatus) (the column is now called "Status") This view is now displayed in a datagridview that the user can modify Sda = new SqlDataAdapter("Select * from FamilyView",con); Sda.Fill(ds); dg.DataSource = ds.Tables[0]; dg.Refresh(); What i want is to transform the column cells "Status" to comboboxes containing all Names from SStatus