workflow

SharePoint 2013 - Workflow Manager

此生再无相见时 提交于 2019-11-26 11:32:46
1. Workflow Manager可以与SharePoint 安装在同一台机器上,只是不建议这么做;由于Workflow Manager 需要使用数据库,我个人将其安装在 SQL Server机器上;另外,端口 12290 and 12291 必须可用,不能被防火墙屏蔽;安装过程中,我参考了 这篇文章 ; 2. 首先,将SharePoint 2013安装并完成默认配置; 3. 第一步,在SQL Server服务器上 下载并在安装Workflow Manager 1.0,参见 此文章 ; 4. 第二步,完成配置,Create a New Farm意思是 创建一个新的工作流Farm ,按照默认配置即可;如果是要加入已有的工作流Farm,则选择Joining an Existing Farm; 5. 第三步,在所有 SharePoint Web Front-End server中安装 Workflow Manager Client 1.0,参考 此文章 ; 6. 第四步,在所有 SharePoint Web Front-End server中安装 Workflow Manager certificates,参考 此文章 中的 Install Workflow Manager certificates in SharePoint区域(默认情况下,Workflow

SharePoint 2013 - Designer Workflow

无人久伴 提交于 2019-11-26 11:32:30
另一篇文章 SharePoint Designer - Workflow 1. 可以定义每个Stage的名称,并将Stage名称显示在工作流状态字段,相比于SP2010时仅有的in progress 和 complete,人性化很多;只需要在Designer中做以下设置(默认已选择)即可: 2. Call HTTP Web Service 活动使得我们可以调用各种类型的web service,可参考 此博客 ,但有几点需要注意: 2.1 要给活动加上 request Header信息,来告诉服务器返回JSON格式的数据;具体方法是,先定义一个Dictionary对象来存储 request headers信息, 然后打开活动的 properties 框,可以看到 Request Headers属性,并将Dictionary对象设置到此处; 2.2 web service返回的值也要存储在Dictionary对象中,读取方式有两种, 如果只有一条数据,返回的JSON数据格式为: 可以直接使用 d/results/(0)/XXX 模式来进行读取(注意:序号外必须要有括号); 如果返回多条数据,返回的JSON数据格式为: 可以先将所有item读取到另一个Dictionary对象中(使用 d/results 路径),然后再使用Loop进行循环读取,此时,直接使用 (sequence

WF 整理小记

为君一笑 提交于 2019-11-26 11:19:16
一、Workflow Foundation versions The current version of WF was released as part of the .NET Framework version 4 and is referred to as (WF4). Workflow Foundation was first released in Version 3 of the .NET Framework, and primarily uses the System.Workflow.Activities, System.Workflow.ComponentModel, and System.Workflow.Runtime namespaces. Workflows in version 3 were created using either the Sequential model (in which activities executed in order, with the completion of one activity leading to the next), or the State Machine model (in which activities executed in response to external events). In

Entity Framework 4 - Update database schema from model. Without wiping the table data

核能气质少年 提交于 2019-11-26 11:06:34
问题 I\'m working on a new project where I have the luxury of working from a Model to Database approach using Entity Framework 4. The project I\'m working on is taking an agile approach where different phases will be rolled out over time. Will the Model First approach work in my case? I noticed when you \"Generate Database from Model\" it recreates the entire schema from scratch which will obviously wipe all the data that is in the db. I was hoping for a more \"Update Database from Model\"

Git submodules workflow

谁说我不能喝 提交于 2019-11-26 09:19:55
问题 In my project I need to use third party code, stored in several Git repositories. My project is also stored in (separate) Git repository. There are several people working with me on the main project, and I\'m the maintainer. In earlier projects I used to copy dependencies manually to the Git working tree, adding a little file specifying version I use. Now this is rather uncomfortable since I need to update daily one of dependencies, and often contribute code to it myself, most of the time

Workflow frameworks for Django

故事扮演 提交于 2019-11-26 07:57:12
问题 I\'ve been looking for a framework to simplify the development of reasonably complex workflows in Django applications. I\'d like to be able to use the framework to automate the state transitions, permissioning, and perhaps some extras like audit logging and notifications. I\'ve seen some older information on the same topic, but not too much in the last 2-3 years. The major choices I\'ve heard of are GoFlow (not updated since 2/2009) and django-workflow (seems more active). Has anyone used

How can I reset the iOS Simulator from the command line?

血红的双手。 提交于 2019-11-26 06:27:40
问题 I need to reset the iPhone Simulator a lot, and haven\'t found a way to do it without using the mouse. It\'s a small thing, but I\'m really sick of doing it and would love to have a way to do this using a keyboard shortcut. Even better would be a way to reset it from the command line, so I could build a reset into a deploy script. I am not very familiar with iOS or MacOS. 回答1: Just run this in the terminal: xcrun simctl erase all improvement suggested by @txulu, just kill the simulator before

Why can't I push from a shallow clone?

浪子不回头ぞ 提交于 2019-11-26 03:18:56
问题 The git clone --depth command option says --depth <depth> Create a shallow clone with a history truncated to the specified number of revisions. A shallow repository has a number of limitations (you cannot clone or fetch from it, nor push from nor into it), but is adequate if you are only interested in the recent history of a large project with a long history, and would want to send in fixes as patches. Why do shallow clones have this limitation? Why is it a patches only workflow? For some

Run VBA script from R

萝らか妹 提交于 2019-11-26 02:56:56
问题 I have to manage a workflow involving R-scripts and VBA-code . I would like to run the process in R (where most of my code is) and now and then to call VBA-code for specific calculation. I would prepare the inputs for VBA in R, write somewhere the results (.csv, database) and then use the results in the rest of the R-script. The best would be of course to move the whole code into R but this is for now not possible. The VBA-code is fairly complex. Translating this into R will be a challenging