workflow

Working with State Machine Workflows in ASP.NET MVC

I have a state machine workflow which contains a number of states. Each state has an event driven activity that handles an external event. When that event fires, I'd like to either redirect the request to a different Controller Action or a View. What is the best way to redirect to a different view or controller action when an event is...

InvalidOperationException and Workflows in ASP.NET MVC

I'm trying to query a running state machine workflow using StateMachineWrokflowInstance in ASP.NET MVC. Here is the scenario: Workflow runtime configuration: added SqlWorkflowPersistenceService, ManualWorkflowSchedulerService, ExternalDataExchangeService and registered custom ExternalDataExchange service with ExternalDataExchangeServi...

Developing in the cloud

I wondering if anyone has tried a pure cloud based development setup, and if so how? Background: I'm going traveling for about six weeks in Costa Rica, my wife has already forbidden the laptop. I'm worried about being able to provide support to some of the projects I currently have going. While I won't have access to my laptop, I wil...

Moss workflow with utl to infopath

I have an infopath form that published to moss form library and opens in browser. Now I created a sharepoint designer workflow for this form library, that sends email, in the email there is a link to the xml file. My problem that the files name are in Hebrew and the link from the workflow doesn't open them, because the file name in the...

delay activity in event handling scope activity - windows workflow sharepoint

Hi, I am trying to create a following scenario: a task gets assigned to the user to complete a task get created for the manager to reassign the user task if necessary (don't ask, they wanted it this way) an email reminder neeeds to be sent when the task is nearing a due date So, I thought of using EventHandlingScope for this: I am...

Suspending the workflow instance in the Fault Handler

Hi . I want to implement a solution in my workflows that will do the following : In the workflow level I want to implement a Fault Handler that will suspend the workflow for any exception. Then at sometime the instance will get a Resume() command . What I want to implement that when the Resume() command received , the instance will e...

Workflow Foundation Separate Schema

I'm working with the persistence and tracking services in Workflow Foundation and I thought it would be a good idea to use a separate schema in SQL Server just for workflow. Unfortunately, it appears they hard-coded the default dbo schema name into their code. One example is the SqlTrackingService class. Due to the way they wrote the t...

Get username from SharePoint User field in List

I have a custom sharepoint workflow that I'm developing in Visual Studio. The workflow is running against a document library which has a custom content type connected to it. The content type includes a user lookup field ("owner"). I'm trying to have my workflow assign a task to the "owner" lookup field. However, I've only been able to g...

Workflow Custom Activity building workflow parameters

Let's say I have a Workflow with 2 dependency Property : Prop1, Prop2. I'd like to create a custom activity that when I drag into the workflow, It will show Prop1 and Prop2 in the property grid in the designer. Is this possible ? Like the invokeWorkflow, when you select the TargetWorkflow, it populates the property grid with Paramet...

Clearcase UCM - Working with streams and components, how?

My co-workers and I are relatively need to the stream idea with Clearcase UCM. Currently management has created streams for each functional software package, each of which has defined interfaces and lives within a layered architecture. Developers create child streams depending on the package they are working in, and attempt to develop th...

Git Version numbering with a centralized workflow

We are using Git with a central server, and our code needs to include a version number in a file. The way this is currently done is like this: A new developer does a "git clone" In his local copy, he edits .git/hooks/pre-commit to call version.sh version.sh (which is included in the project root) takes a version number from "git desc...

Git import/export into SVN as a regular workflow?

Randal Schwartz says that he uses Git's SVN import/export feature when he has to interact with SVN repositories. He pulls the project from SVN, does all his local edits/saves with Git then once done pushes the changes back to the SVN repository. Is this really a worthwhile process for daily use with a SVN repositories rather than just us...

Git workflow for corporate Linux kernel development

I work for a company which builds embedded systems using Linux. Historically we've always used CVS to store our kernel work. Our kernels end up being a collection of: Drivers for our proprietary hardware Random fixes for bits of Linux we use Non-proprietary hardware drivers Random yukky hacks to tailor Linux for our application We're...

Changing windows workflow assemblies while running?

We’re about to deploy version 1.2 of a software project I was working on, up from version 1.1. As it stands right now, there are a few outstanding workflows that are still in progress that will break if we update the workflow and supporting assemblies to version 1.2 because the serialized workflows will be looking for version 1.1 of th...

Contributing using git

So I have cloned a project at github and fixed a patch. Since this is the first time Im working in git Im trying to figure out the best way to put it online. Upon checking out my own (cloned) repository on github there was only one branch: master. I created a branch, myfix, which now holds one commit, which is the fix for the bug. Sh...

Is this a bad login algorithm in flash, php and mysql ?

My site is in flash. The login is also in flash. This is the login flow: Enter username and password Send to authentication.php page Here is my doubt on authentication.php page: (1) Check the post parameters, i.e username and password (2) Sha/hash the password (3) Q1(query 1), select username and password from users table (4) If ma...

Terminate unowned workflow

I'm currently using WF with multiple hosts. If one of these hosts owns a workflow, but crashes, I'd like another host to be able to terminate the workflow. Is there any way to do this? What I've tried so far is to first remove ownership by executing a sql query to set ownerID and ownedUntil to NULL, unlocked to 1, and nextTimer to the c...

Invoke Windows Workflow Recursively

I have a workflow, that at a certain point, needs to be triggered recursively. I can't seem to figure out how to do this. I tried the following code but context ends up being null?? private void codeTriggerChildren_ExecuteCode(object sender, EventArgs e) { ActivityExecutionContext context = sender as ActivityExecutionContext; ...

Cant unpublish pages access denied error

I get the sharepoint access denied page when I try to use the unpublish option on a list item in the pages library. We are using approval workflow and publishing, as well as versioning on the pages library. If I navigate to the version history page, the unpublish version works correctly. Can anyone advise on this? All the best ...

Launch Sharepoint workfloweach time a change is made, even if there is a pause

I have a workflow on a Sharepoint list which sends an email alert based on a date field in the list item - this requires using the "pause until" option. This seems to lock the "on change" workflow from being fired again if another change is made during the period of the pause. Is there some way around this? Some details, since maybe I...