workflow

How to return EntityCollection as Outparameter custom activity

杀马特。学长 韩版系。学妹 提交于 2019-12-10 18:43:13
问题 [ReferenceTarget("contact")] public InOutArgument<EntityReference> PartyList{ get; set; } How can I return/send a list of ActivityParty or a EntityCollection from a custom CodeActivity back to the workflow step? Inside my execute method, when I return an EntityCollection or a List I get a type conversion error. From the responses below - I wanted to add some clarification: How can I pass any collection back, I see the list is limited - I was looking for a workaround. Since EntityReference was

PowerShell Workflow Thread Limit

霸气de小男生 提交于 2019-12-10 18:21:02
问题 I have a PowerShell workflow that looks something like this, except what each Foo function does is normally very different: function Foo1 { "Foo1 : {0:hh}:{0:mm}:{0:ss}" -f (Get-Date) Start-Sleep 2 } function Foo2 { "Foo2 : {0:hh}:{0:mm}:{0:ss}" -f (Get-Date) Start-Sleep 2 } function Foo3 { "Foo3 : {0:hh}:{0:mm}:{0:ss}" -f (Get-Date) Start-Sleep 2 } function Foo4 { "Foo4 : {0:hh}:{0:mm}:{0:ss}" -f (Get-Date) Start-Sleep 2 } function Foo5 { "Foo5 : {0:hh}:{0:mm}:{0:ss}" -f (Get-Date) Start

Windows Workflow Foundation in ASP.NET 3.5 Web Application - Best Approach

这一生的挚爱 提交于 2019-12-10 18:05:15
问题 What is the best way to use Windows Workflow Foundation in ASP.NET 3.5 Web Application. In my case there are several workflows(sequential) which includes numerous steps, user has the privilege to save and exit at any of these steps; the state must be persisted, possibly in SQL Server. Exposing workflows as web service is good idea? I have very little idea about workflows and only tried out wf console applications. Please guide me in right direction, also I would like to know is there any

Intelligent file search for windows that can ignore whitespace and search in code?

给你一囗甜甜゛ 提交于 2019-12-10 18:03:36
问题 Does anybody know a Windows based searching tool that is easy to use and is programmer friendly. The functions I am looking for: Ignore white space in search = capable to find myTestFunction ( $parameter, $another_parameter, $yet_another_parameter ) { doThis(); using the query myTestFunction($parameter,$another_parameter,$yet_another_parameter){doThis(); without Regexes. Search code "semantically" (for me, it would have to be PHP): Search in comments only Search in function names only Search

maintain different versions of the code simultaneously using git

喜你入骨 提交于 2019-12-10 17:48:57
问题 I got a code that I'm required to optimize. I would like to maintain a set of versions of the code (each version can be described as a composition of some features, optimizations) simultaneously. Eventually, I'll decide which version is the best one. I do not want to merge these versions into fewer versions. However, I would like to be able to make a (minor) modification to a (big) source file which may divert across the versions and I want this modification to write through more than one

Workflow for hacking on Clojure libraries using swank-clojure

╄→гoц情女王★ 提交于 2019-12-10 16:11:53
问题 Is there a typical workflow for hacking on Clojure libraries? Say I have my application "Foo" which relies on a third-party library "Bar", which was obtained from a repository, and included in project Foo via lein deps . Then, say I want to hack on library "Bar", so I clone it from github. Now, I would like to hack on my local clone "Bar" while at the same time working on application "Foo" that depends on it. I would like all of the source files for "Bar" to open in Emacs along with all the

Foreach -parallel object

痞子三分冷 提交于 2019-12-10 15:48:43
问题 Recently we started working on scripts that take a very long time to complete. So we dug into PowerShell workflows. After reading some documentation I understand the basics. However, I can't seem to find a way to create a [PSCustomObject] for each individual item within a foreach -parallel statement. Some code to explain: Workflow Test-Fruit { foreach -parallel ($I in (0..1)) { # Create a custom hashtable for this specific object $Result = [Ordered]@{ Name = $I Taste = 'Good' Price = 'Cheap'

SPWorkflowActivationProperties.Item is NULL in Simple SharePoint Workflow

我只是一个虾纸丫 提交于 2019-12-10 15:29:53
问题 I have generated a C# SharePoint Sequential Workflow project using the very handy STSDEV tool (it got me around the requirement to have access to a 32-bit SharePoint installation which is required for other tools such as VSeWSS 1.3). I've added a simple 'modify the title' action to test my basic setup: public sealed partial class CopyWorkflow : SharePointSequentialWorkflowActivity { public CopyWorkflow() { InitializeComponent(); workflowProperties = new SPWorkflowActivationProperties(); }

Undo local changes interactive

我怕爱的太早我们不能终老 提交于 2019-12-10 15:04:09
问题 I often add some debug code while developing so I need to remove these changes later. Currently, I check the git diff and remove the changes manually or just type git checkout -- myfilename if I would like to undo the entire file. I love the interactive patch function ( git add -i ). Is there a tool or a command in git which can undo changes interactive like git add -i ? In other words: I would like to interactively checkout files and hunks out of the index. 回答1: What you are looking for I

Gerrit workflow - push single commit to topic branch

被刻印的时光 ゝ 提交于 2019-12-10 14:37:35
问题 I want to push a single commit to Gerrit without affecting other commits in the same topic branch. Unfortunately I don't have a test instance of Gerrit to experiment with. Scenario: I have contributed a topic branch to the project, which is in review, and other developers have updated parts of it. Now I wish to make changes on top of their updates. To do this I pull the changes by the other developer in the commit I wish to edit, do an interactive rebase locally to make my own changes, then