用户定义的动态工作流在工作流基础4? [英] User Defined Dynamic Workflows in Workflow Foundation 4?

查看:128
本文介绍了用户定义的动态工作流在工作流基础4?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直,详尽,看着WF4的例子,我不相信这会为我的工作,<一个href=\"http://stackoverflow.com/questions/5451303/workflow-design-advice-for-asp-net-web-application\">project.我需要另行信服。我与我们如何实现系统使用WF4让网友们定义工作流程的能力挣扎。看来你需要VS2010的经验,设计和实施WF4工作流程。我喜欢麦子它可以提供,但觉得这可能是对非介绍技术的用户太复杂了。

I have been, exhaustively, looking at examples of WF4 and am not sure it will work for my project. I need to be convinced otherwise. I am struggling with how we would implement a system to use WF4 so users have the ability to define workflows. It seems you need VS2010 experience to design and implement a WF4 workflow. I love wheat it can offer, but feel it may be too complicated for non techical users.

难道我们只定义一吨的自定义activies的用户可以移动到工作流程?我们怎样才能使它尽可能容易为用​​户打造的工作流程?

Do we just define a ton of custom activies that a user can move into a workflow? How can we make it as easy as possible for a user to build the workflow?

我们已经和我们要允许,乔/简用户创建自己的工作流程,具体项目的应用程序。例如,信息查询项目。射频干扰具有它可以在特定的状态由用户定义的。他们应该被允许控制基于这些国家的流动。将有应用程序定义,以什么会发生的基础上的决定/条件一些基本的项目。所以,像通知(当有新的变化谁得到通知),时间框架(这是多长时间能保持在一定状态下别的东西发生之前),可能还有一些其他条件。条件/决定类型将被应用程序的限制,现在。但是想象一下,他们可以建立工作流程,并在添加这些决定/条件,无需任何编码知识。

We have and application that we want to allow, Joe / Jane user to create their own workflows for specific items. For example, Request For Information items. The RFI has specific states it can be in that are defined by the user. They should be allowed to control the flow based on those states. There will be some base items that the application defines as to what will happen based on a decision / condition. So, things like notifications (who gets notified when something changes), time frames (how long something can stay in a certain state before something else happens), and possibly some other conditions. The conditions / decision types will be limited by the application, for now. But imagine they can build the workflow and add those decisions / conditions in without any coding knowledge.

我不知道我们如何能以这种方式利用WF4。也许我在看WF4走错了路?

I just don’t know how we can leverage WF4 in this way. Maybe I am looking at WF4 the wrong way?

推荐答案

WF4能够处理的工作流,但你需要一个简化的工作流编辑器,使工作流程的创建/修改提供给最终用户。这是可能的WF4。

WF4 is capable of handling the workflows, but you need a simplified workflow editor to make the creation/modification of workflows available to end users. This is possible with WF4.

如果工作流程的最终用户定义和管理是应用程序的要求那么我相信WF4可制作在您的案件工作。它可以以编程方式创建并执行它们之前修改WF4工作流程。

If end-user definition and management of workflows is a requirement of your application then I believe WF4 can be made to work in your case. It is possible to programmatically create and modify WF4 workflows before they are executed.

最好的整体设计情况下可能是predefined工作流开发人员和专家用户,则最终用户定制提供了一个工作流模板的模式。用户可以配置从predefined模板库中选择骨架的工作流程。这可能会根据您的要求得到相当复杂。

The best overall design might be a "workflow template" model where predefined workflows are provided by developers and expert users, then customized by end-users. Users could configure "skeleton" workflows selected from a library of predefined templates. This could get fairly complicated depending on your requirements.

在一个侧面说明:在WF4工作流设计器是Windows窗体/ WPF应用程序主存。专家用户可以定义新的工作流程,而无需使用Visual Studio。

On a side-note: the WF4 workflow designer is "hostable" in a Windows Forms/WPF application. Expert users can define new workflows without having to use Visual Studio.

这篇关于用户定义的动态工作流在工作流基础4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆