workflow-foundation

In sharepoint designer's workflow editor how do I get the workflow initiators username?

谁都会走 提交于 2019-12-03 07:47:34
In Sharepoint designer's workflow editor I wish to retrieve the username/name of the work flow initiator (i.e. who kicked it off or triggered the workflow) - this is relatively easy to do using 3rd party products such as Nintex Workflow 2007 (where I would use something like {Common:Initiator}) - but I can't seem to find any way out of the box to do this using share point designer and MOSS 2007. Update It does not look like this rather obvious feature is supported OOTB, so I ended up writing a custom activity (as suggested by one of the answers). I have listed the activities code here for

Real World Examples of WF and WPF Interaction

こ雲淡風輕ζ 提交于 2019-12-03 04:30:43
问题 I'm looking for some good real-world examples of interaction between Windows Presentation Foundation and Workflow Foundation. Most of the WF tutorials I see demonstrate use within console applications. I'm more curious about applications that use a rich WPF interface and WF. Particularly if they allow user defined workflows (allow users to design and run their own workflows on the fly). 回答1: I'm not sure what exactly you're looking for, but here are some links to information about actual real

Get username from SharePoint User field in List

谁都会走 提交于 2019-12-03 03:59:33
I have a custom sharepoint workflow that I'm developing in Visual Studio. The workflow is running against a document library which has a custom content type connected to it. The content type includes a user lookup field ("owner"). I'm trying to have my workflow assign a task to the "owner" lookup field. However, I've only been able to get the display name for the user, not the account username. Can anyone help? Kusek Refer to this Article on how to get the User Details from the Field. public static SPUser GetSPUser(SPListItem item, string key) { SPFieldUser field = item.Fields[key] as

Comparison between Stateless (on google code) and Windows Workflow [closed]

梦想与她 提交于 2019-12-03 03:08:01
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I'm starting to think that I should ditch Windows WF in favor of something simpler. I don't necessarily need to pause workflow execution for extended periods of time and restore them later. I would like a simple state machine framework that does have basic suspend / resume / abort

Did you successfully adopt Windows Workflow in a real world web application?

半腔热情 提交于 2019-12-03 01:50:37
I have recently posted a question regarding the Windows Workflow running in a web application. Granted it was a fairly technical question that contained terms like ManualWorkflowSchedulerService, HandleExtrenalEvent, etc... it got about 15 views over the course of 20 days. While it is most likely a matter of me not asking the question the right way, it got me thinking about the adoption of windows workflow in real world applications, especially in web applications. Have you successfully implemented real world internet applications with WF and looking back, has the investment of your time

Drools.NET vs Windows Workflow Foundation (WF)

感情迁移 提交于 2019-12-02 19:09:12
I am currently in the process of searching for a rules engine that works in .NET. Our logic is pretty simple, +, -, *, /, and, or, basic order of operations stuff. However we are going to need to store this information in the database and then generate the rules file when a new version is pulled from the database. So the common UI editors are going to be useless to us, unless one of them has a web version UI editor. So my question is, given what I have said, which is going to be the best rules engine for us in terms of programmatic configuration and integration with ASP.NET. My experience with

Comparison between Stateless (on google code) and Windows Workflow [closed]

六眼飞鱼酱① 提交于 2019-12-02 16:37:45
I'm starting to think that I should ditch Windows WF in favor of something simpler. I don't necessarily need to pause workflow execution for extended periods of time and restore them later. I would like a simple state machine framework that does have basic suspend / resume / abort (without serialization), however. I've downloaded the Stateless framework from Google Code and am going to start playing with it, but would love to hear what the other .NET programmers out there are using. EDIT Stateless seems really simple to implement, but I do wonder if it's the right thing for a candy machine. In

What are the best resources for Windows Workflow Foundation (WF)? [closed]

陌路散爱 提交于 2019-12-02 14:57:13
I am looking for a few books, blogs or articles on WWF. I've read the books below; however, I need resources that cover the topic in more depth. I am especially interested in local services, persistence, tracking and viewing Workflows from a website. Any suggestions?? Pro WF: Windows Workflow in .NET 3.0 Essential Windows Workflow Foundation IMHO, the best books are Essential Windows Workflow Foundation and Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C# . Blogs that I read: Keith Pijanowski's Blog Kirk Allen Evans's Blog Matt Winkler Matt's

MS WF state machine workflows and MS CRM Dynamics 4.0

霸气de小男生 提交于 2019-12-01 17:02:17
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? 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 around you could write either all the logic you need into a custom workflow activity and import that into MSCRM

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

余生颓废 提交于 2019-12-01 16:31:37
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 deserialized and the dependencies were updated meanwhile. I think the problem is that what you are asking