workflow

How to get out parameters working in SharePoint workflows

强颜欢笑 提交于 2019-12-10 14:14:02
问题 I'm trying to create a custom workflow action with an output parameter for error handling. Working from various examples, I can't get Parameter Direction="Out" to work. Everything seems right, but when I try to assign the output to the "error" variable in SharePoint Designer, it places asterisks around it and flags it as a workflow error. Here is what the action XML looks like: <Action Name="Create Folder" ClassName="ActivityLibrary.CreateFolderActivityTest" Assembly="ActivityLibrary, Version

Refresh page in browser without resubmitting form

大兔子大兔子 提交于 2019-12-10 12:55:40
问题 I'm an ASP.NET developer, and I usually find myself leaving the webpage that I'm working on open in my browser (Chrome is my browser of choice, but this question is relevant for any browser). My workflow typically goes like this: I write code, I rebuild my project in Visual Studio, and then I flip back to my browser with Alt-Tab and hit F5 to refresh the page. This is fine and dandy if a form hasn't been submitted since the page was opened. But if I've been clicking around on ASP.NET form

InstanceLockedException: How to handle locking issues with WF 4.0?

岁酱吖の 提交于 2019-12-10 12:13:50
问题 Background: I'm using WF 4.0. My web app and workflow are running on a farm (4 machines). All references from web app to workflow use "http://localhost/..". Workflow persistance is kept on one database using SQL Server 2005. Running on Windows Server 2008. Scenario: ServerA creates new workflow and processing completes when it reaches a Pick Activity which contains Receive Activities as its branches. Just before the Pick activity, an app-specific flag is set in the database to indicate that

Django / MacOS revised efficient development workflow

谁说我不能喝 提交于 2019-12-10 11:32:20
问题 I've been now happily developing applications (Django in particular) on the Mac for a few years now. As part of this process I am always looking to gain efficiencies in my workflow and enjoy reading about other development expieriences. Now it's my turn to give back. This is a revision to my previous post with time and expierience under my belt. Tools of the trade A Mac Loaded up with XCode A good set of gnu tools (coreutils, findutils, diffutils...) A solid set of SCM's git, mercurial,

Registering custom tracking participants through code in workflow foundation 4.0

…衆ロ難τιáo~ 提交于 2019-12-10 11:21:28
问题 I'm having trouble trying to attach a custom tracking participant in workflow foundation 4.0. I have a class that inherits from TrackingParticipant but I cannot see any other way of attaching it to my WorkflowServiceHost other than through lots of messy app.config entries like the SDK example demonstrates below (in the system.servicemodel element). This option seems to require a lot of extra overhead and classes to be created, when I just want a simple custom tracking participant to listen to

WF4.5 Dynamic Update - Issues when updating large, long-running flows with custom activities

放肆的年华 提交于 2019-12-10 10:46:03
问题 I am working on implementing an update process for our large workflows that have the potential to last years, even decades. I'm picking up where previous developers have left off, and, after spending a week trying to get the existing code (based mostly off of Microsoft's provided example) to work, I've scrapped it and built my own WorkflowVersioning utility. While I've been able to successfully update persisted instances to new versions, in testing I've found that various changes can cause

How can I write a custom WorkFlow 4 Code Activity that includes a “Body Block”?

十年热恋 提交于 2019-12-10 09:43:37
问题 Is this possible? I know it is for MS since they have WF activity packs but I'm not sure how it's done. It would be nice to be able to have Activities with Body blocks to insert other activities, buttons, etc. If not too much trouble and/or time consuming that is. 回答1: Its easy enough if you follow a few rules. Here's an example of a NativeActivity that has a child: [Designer(typeof(MyActivityDesigner)), ContentProperty("Child")] public sealed class MyActivity : NativeActivity,

How to directly publish only child items of my Container type in Plone?

懵懂的女人 提交于 2019-12-10 03:36:43
问题 I have a custom folderish Dexterity content-type in Plone. It can have only Documents as children. I want these documents to be directly published as they are created. I can achieve this easily by setting an appropriate workflow for the Document type, but that would affect every document in my site. I want only the ones inside my container type to be directly published. Two options come to my mind: Custom page Create basically just a copy of the stock Document type and set its workflow to

Migrating a production site with no VCS at all to Git

半城伤御伤魂 提交于 2019-12-09 18:34:18
问题 I thought I would throw this out there and see if I could get some solid advice on this. I've got a production site with a rather large code base and have just installed Git on it, same with test site. And I've got a local box that will basically be the point of integration. Our team will push to the local box and little gnomes will come and take everything off to our different servers - or at least that's the closest I've come to implementing Git. I really don't have the slightest clue where

how to use logical operators in OOZIE workflow

不打扰是莪最后的温柔 提交于 2019-12-09 18:34:14
问题 i have a oozie workflow im using decision control node in the predicate i want to "&&" two different conditions and i need to use "&&" in between them for the final TRUE/FALSE result i dont find the predicate syntax for such conditions im using this <decision name="comboDecision"> <switch> <case to="alpha"> --------- </case> </switch> </decision> i want to do this = <decision name="comboDecision"> <switch> <case to="alpha"> condition1 && condition2 </case> </switch> </decision> can anyone