I have 2 methods on a workflow service hosted in WorkflowServiceHost.
The first method is called and starts the regular workflow sequence - talking to other web services, database work etc but on some occassions will pause and persist to db (as-in the delay activity) and wait for some human action to take place before continuing.
I nee...
Hello guys.
I'm trying to install WF with VS2008E.
That's what I already did:
Go to http://msdn.microsoft.com/en-us/netframework/aa663328.aspx
"Get it" http://msdn.microsoft.com/en-us/netframework/dd980558.aspx
"Get the Windows Software Development Kit" http://msdn.microsoft.com/en-us/windows/bb980924.aspx
Select first link at Downlo...
Just curious how Windows Workflow 4 executes vb code. Can I use the same techique to execute vb.net code at run-time?
...
Hello,
We have a state machine workflow for maintaining the state of an application submitted by a user. One of the issues I am having is related to workflow termination. In one of the states, I had a bug. When the application reached that state, it threw an exception and as a result, the terminate event of the workflow was called and t...
Workflows can wait for the item to be moved to recycle bin via OnWorkflowItemDeleted activity. Is there any way to handle the restoration of the item from recycle bin?
...
This seems like a simple problem: I have a WF4 activity that guides the user through a set of questions. After each question is displayed, the activity should be idled until the question is answered. After each question is answered, I want to prompt the user with the next question. (The next question is determined based on the answer to ...
Hi all,
we use a ServiceAutorizationManager in WCF to set the principal in our services. We are planning to switch to WIF. But with workflows hosted as WCF service that are able to suspend or idle we have a problem to restore the principal. Which hook can we use so that the principal is loaded correctly without having to alter our workf...
We have been using InRule for our Rule needs we have found that it does not scale well and so are investigating the Windows Work Flow. Within InRule we could configure pretty much have any task for example our sql scripts and stored procedures where all part of a separate rule config file, I am wondering if there is a similar functionali...
My project is a Speech Server application using Windows Workflow. It runs as an app under IIS. It supports a plug-in system. Here is what is happening:
Load DLL into memory and set the type on an InvokeWorkflow control.
When the InvokeWorkflow control runs, it appears to correctly instantiate the workflow from the loaded assembly - it ...
I have a workflow service that runs and performs a number of different operations (such as web service calls).
If one of these operations fails I call an error reporting web service to notify a seperate system that one of my workflow operations has failed. As the error could be something like the web service being down, I loop and retry...
I've been looking at the possibility of ReHosting a WF4 Workflow to be used to debug running Workflows. All the posts and samples I've seen regarding WF4 Rehosting are using a WPF application to initially Host the Workflow, and then use the WorkflowDesigner in ReHosting it. Is there any way to Rehost a Workflow that was hosted in a non...
Problem: during execution, instances of classes that derives from System.Workflow.ComponentModel.Activity is serialized by the workflow engine. I'd like to unit test these types in order to ensure that they can be serialized. As of now, these exceptions only show up in production.
Non-working solution:
public class UnitTestActivity : A...
Hello,
I have a WF4 workflow service deployed in AppFabric. Is there any built-in way to do a generic search across all currently active workflow instances?
For example, "get me a list of all active instances that have variable x = 5"?
If someone could point me in the right direction on this it would be much appreciated.
...
Generally we derive custom activity from Activity or CompositeActivity class, i want to have my custom base class for all activities :
like
public class BusinessActivity : Activity
{
}
then my custom activities will derive from BusinessActivity .
The quetions is if i want ErrorMessageProperty and RetryCountProperty as dependen...
Hi,
I am trying to write a simple activity that received from the user its name and printing "hello + username" message.
the problem is that i cannot access to the username input via code.
the function is:
static ActivityBuilder CreateTask1()
{
Dictionary<string, object> properties = new Dictionary<string, object>();
...
I'm working on a new architecture for essentially an n-tier collaborative application (not enterprise-class, just a smallish project with potential to grow significantly) where I'm already trying to discipline myself to use IoC and, to some extent, TDD, and I'm wondering, in general terms, whether it is wiser to just hand-code workflow l...
Assume that I have a .NET Workflow Foundation (WF) SequenceActivity class with the following "output" property:
public IWorkspace Workspace { get; private set; }
// ^^^^^^^^^^
// important: this is a COM interface type!
public static DependencyProperty WorkspaceProperty = DependencyProperty.Register(
"Workspace",
...
hi
i m trying to change the state for workflow from one state to another on button click its working fine with windows but not with web application and its instance id does not persist i have used SqlWorkflowPersistenceService also.
what can b the solution for this.
thanks
...
hi,
I'm trying to call a windows workflow foundation published as a web service from a Silverlight project. When I call it from a console application it works fine because I can add a web reference then I just make an instance of that webservice then I invoke the method I want. The problem is in the silverlight project cause i can jus...
I have an application that runs workflows custom developed in .Net 3.5. Now we want to build a case (to help customer understand) for migrating these custom workflows to WF. What should be the highlights of such a case?
P.N: the customer has not asked for it but we want to build a case and present it to the customer.
Thanks in advance...