workflow

工作流-----WorkFlow

房东的猫 提交于 2019-12-20 01:13:28
我们都知道对于一个OA系统来说,最重要的也是不可或缺的一个重要环节那就是对于工作流的实现,为此,最近专门在学习如何使用WorkFlow,问前辈,前辈也说道K2工作流引擎挺不错,自己同时也翻阅了一些资料,但因为自己这个OA项目主要是采用微软的ASP.NET MVC 来开发的,所以还是决定使用微软的那一套WorkFlow工作流引擎。不得不说,微软在对于客户体验这方面做的还真是不错的。为了方面学习,我也是通过一个小案例来学习WorkFlow,在这里也拿出来和大家共同分享学习。 小案例(请假工作流) 说明: 1.程序集:system.Activities 2.Xaml文件:工作流文件设计的类型,最终会被处理为一个类 3. 状态机工作流(开发中使用的类型) 首先:创建一个Windows窗体应用程序,命名WorkFlowDemo 注意:为了便于工作流的展示,把当前项目的属性-----》服务,把输入类型由Windows应用程序改为控制台应用程序 接下来,简单点设计一下窗体页面 设计一下流程图:(状态机控件在工具箱)对于其中的工具使用,可以自己简单学习,很容易上手 前期工作完成接下来就是代码实现的时候了,为窗体的单击按钮注册事件 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4

Assign reviewer from different groups at different stages of workflow in Plone

你说的曾经没有我的故事 提交于 2019-12-20 00:59:55
问题 We are implementing Plone as a document management system in a hospital setting. In doing so, the review process asks for two review steps: where nursing staff review a document where physicians review a document The problem arises when we found out that the nurses are grouped based on the types of machinery they handle (specifically types of scanners, ultrasound,...). On these machines they perform all kinds of exams, on all kinds of bodyparts. The physicians on the other hand are grouped

Version control setup for a tutorial

邮差的信 提交于 2019-12-19 20:49:49
问题 I'm trying to set up version control for a programming-related tutorial. It's proving problematic because there are two different kinds of history: There's the history of the project being built by the tutorial, which is available for each chapter and is what the reader will see. If I never planned to change already-written chapters of the tutorial again, I could just store each chapter as a tag in the history of the project. Then there's also the history of the tutorial itself (not only the

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

Java: Difference between initializing by constructor and by static method?

非 Y 不嫁゛ 提交于 2019-12-19 08:02:14
问题 This might just be a question of personal taste and workflow, but in case it's more than that, I feel I should ask anyway. In Java, what differences are there between creating an instance via constructor and via a static method (which returns the instance)? For example, take this bit of code from a project I'm working on (written up by hand at time of posting, so some shortcuts and liberties are taken): Plugin main; Map<int, int> map; public Handler(Plugin main) { this.main = main; } public

Java: Difference between initializing by constructor and by static method?

丶灬走出姿态 提交于 2019-12-19 08:02:09
问题 This might just be a question of personal taste and workflow, but in case it's more than that, I feel I should ask anyway. In Java, what differences are there between creating an instance via constructor and via a static method (which returns the instance)? For example, take this bit of code from a project I'm working on (written up by hand at time of posting, so some shortcuts and liberties are taken): Plugin main; Map<int, int> map; public Handler(Plugin main) { this.main = main; } public

CRM 2011 Workflow “Invalid Pointer” error

眉间皱痕 提交于 2019-12-19 05:45:02
问题 I have a custom workflow in CRM 2011 which is manually triggered against custom entity records. When a single record is selected for processing, the workflow is always successful. However when selecting more than one record, at least one will fail. The error(s) provided seem to vary from one attempt to the next, even though the same data is being used. Errors I've encountered so far are: ValidateOpen - Encountered disposed CrmDbConnection when it should not be disposed You cannot create a

Is there a standard option workflow in F#?

喜夏-厌秋 提交于 2019-12-19 05:03:28
问题 Is there an option (maybe) wokflow (monad) in the standrd F# library? I've found a dozen of hand-made implementations (1, 2) of this workflow, but I don't really want to introduce non-standard and not very trusted code into my project. And all imaginable queries to google and msdn gave me no clue where to find it. 回答1: There's no Maybe monad in the standard F# library. You may want to look at FSharpx, a F# extension written by highly-qualified members of F# community, which has quite a number

Is there a standard option workflow in F#?

烂漫一生 提交于 2019-12-19 05:03:04
问题 Is there an option (maybe) wokflow (monad) in the standrd F# library? I've found a dozen of hand-made implementations (1, 2) of this workflow, but I don't really want to introduce non-standard and not very trusted code into my project. And all imaginable queries to google and msdn gave me no clue where to find it. 回答1: There's no Maybe monad in the standard F# library. You may want to look at FSharpx, a F# extension written by highly-qualified members of F# community, which has quite a number

CQ 5.6.1 getWorkflowSession cause Uncaught Throwable java.lang.NullPointerException

 ̄綄美尐妖づ 提交于 2019-12-19 05:00:43
问题 at com.cuso.Mao.doGet(Mao.java:97) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:268) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:344) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:375) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:508) at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render