workflow

Workflow and exception handling

In developing a custom workflow that will execute numerous work items, it is possible that one or more workitems could fail at any time during their routines and even perhaps raise exceptions. What is best practice when it comes to handling exceptions raised by workitems inside a workflow manager? For instance, should the workflow mana...

Sharepoint workflow vs Windows workflow

We are in the process of implementing the sharepoint application, we would like to know the the pros and cons of SharePoint workflow versus Windows workflow. ...

osuser + hibernate3 integration

i using osworkflow with hibernate3. i looking for guideliness on integrating osuser with hibernate3. can anyone elaborate ..? ...

translation algorithm

Recently I am working into the ability of translating a PHP web application from one language to another. Well, most of those I read involves having language files, then display the selected one like this: en.lang.php: <?php $_TEXT = array(); $_TEXT['welcome'] = 'Welcome to My Application'; ?> fr.lang.php: // french (i translated t...

Access config file from a VS Sharepoint Workflow

Hi, I want to store some setting in web.config file of the sharepoint web application or in app.config of the workflow itself. But i don't know how to access neither of these files and i don't know how to handle the data inside them. Please, give some advise, how to do this or where to read about doing this. Any information is helpful....

MOSS - Programatically set SpecialPermissions

I have a MOSS workflow where on the first form, the user can choose a colleague to evaluate him. Say user A selects user B. After the form is submitted, a new task is created for user B to evaluate user's A. My problem is that I need to make sure the task is only accessible to user A, and not to user B, nor any other user in the system...

Git submodules workflow

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 ...

Why the OnWorkflowItemChanged is different between List and document library?

I am doing a workflow for a document library. I put a OnWorkflowItemChanged, and I want to get the value of the column which is changed. I use the workflowProperties.Item["name"] and use the afterProperties. But when I use the workflowProperties.Item["column name"], I still got the original value. When I use the afterProperties, it's NUL...

Workflow best practice with git and github?

I have been using git and github with my small team of developers for our projects. I can't help but think that we aren't doing it right. I am interested to hear how others use this workflow within their projects. How we use it: We branch before each change, merge back into the master, commit locally and push to our github repo. We then...

Customised business rules per customer...(asp.net mvc)

In a web application i'm working on, items can pass through multiple states (eg. workflow) and after each workflow a rule can be run after each step which can stop the process or display additional messages. How should these rules be defined? I was thinking about a dll per rule (and hooking them up either with MEF or events) but one a...

How to know the ContentTypeId of a content type made with the Sharepoint interface?

I am working on a workflow in VS which creates a task with content type. The content type I want to use is a custom content type made with the SharePoint interface. Is there a way to know this content type's Id so I can use it in my workflow? If not; is there an alternative how to initiate a task containing this content type with my w...

.NET Workflow Engine Suggestions ( currently considering stateless )

I came across stateless, a hierarchical state machine framework based on Simple State Machine for Boo, but configured using C# 3.0 It is easy to configure and use, I will probably use it soon. But I was just wondering if Anyone used stateless for real projects (If so what is your opinion?) Are there any other good workflow engines fo...

Allowing users to choose an approval workflow to start in MOSS

When using MOSS approval workflow on publishing pages I would like the users to be able to select a workflow to start rather than it just starting one? That is, when they click approve on a document I want a choice of approval workflows for them to select from i.e. Approval for the design team or Approval for the Corporate board etc. Is...

Windows Workflow - TerminateActivity causes workflow to fault?

I'm handling an exception in a FaultActivityHandler, at the end of which, I wish to end the workflow. To that end, I added a TerminateActivity to the fault handler. It looks like this causes the workflow to fault. Is there a better way of doing this? I could use an if-else to check for a an error flag, but this would end up with a lo...

I am using accruent SLM with Skelta Workflow.NET

Is there anyone out there that can answer some questions for me? I am trying to make the workflow take different paths automatically based on values in accruent form fields, but I need to write some code or something. It's not working, and there is no documentation or help files at all. Not even online at SKelta's site. Help! ...

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

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_an...

Loading a workflow stored as XAML in .NET 4.0

What is the syntax for loading a .NET 4.0 Beta2 workflow that was previously created and stored as XAML. The WorkflowElement and WorkflowXamlServices classes no longer exist. I am trying to do something like this (that worked in Beta 1): WorkflowElement wf = WorkflowXamlServices.Load(File.OpenRead("Workflow.xaml")) as WorkflowElemen...

Mercurial: Export last n revision into MQ

Hi, is there an easy way to export last n commits into a new mq queue and strip the commits from the real repository? I do often start out developing a new feature, later realising I did something wrong/would want to use MQ to fold patches. I am currently doing: Export last n commits as single patches Strip last n commits create new...

svnmerge workflow

How are you using svnmerge for merging and branching in svn? ...

Sharepoint - A feature creating a list with a workflow : Possible?

I've exported a list definition with Sharepoint Solution Generator. This list is associated with a workflow. If I search for the name of my workflow in the generated "schema.xml" file, I find XML that looks like this : <Field DisplayName="publicationWorkflow" Type="WorkflowStatus" Required="FALSE" ID="{2a2504e5-5ad0-4a9f-8bf4-15ca29e49e...