I have a custom activity, with a single in argument which is a string. However, rather than allow the designer to enter an arbitrary string, I want the designer to be presented with a Combobox with the list of options, the options are dynamic and are loaded from a database into a List<> collection.
My problem is I have no clue how to b...
Hi,
In workflow 3.0-3.5 you could explicitly set the Id of a workflow you start. This feature was particularly useful. I cannot see a way to do this in Workflow 4.0. Does anyone know if this is possible? Since the Id property is read-only and there is no overloaded constructor accepting an Id, the only possible mechanism I see is if t...
I need to develop a workflow for a call center. A bot will ask some predefined questions to the caller. Based on the answers the workflow will decide the questions to ask and finally redirect the caller to a representative that has required skills.
Based on the scenario above, I have several questions.
How can I make the workflow "wait...
Hi,
This particular problem is driving me nuts. I wonder if anyone has experienced a similar problem. If I load up a workflow then unload it and perform a memory snapshot then the result is predictable - my workflow is no longer in memory. However, if I load up a workflow and set the PersistableIdle action to PersistableIdleAction.Unloa...
Hi
I have created an Activity (CodeActivity) that retrieves the temperature where I live.
I wan't to add that activity to a workflow and connect it to an if statement/activity that can based on my temperature outargument do different things.
But I can't seem to find how to access the outargument from my temperature-activity.
This is my ...
I have a custom activity which has inargument<MyClass>.
MyClass has several properties.
I want to provide a popup dialog editor for this inargument which will present a form, to input the values of all properties.
Is there any good example, tutorial showing all the steps to implement this?
...
Hi, i have developed a wf-wcf services with a code activity and in it i want to retrive the current url of the service.
If i disabling the persistence feature of appfabric i can retrive the url using
HttpContext.Current.Request.Url.ToString()
If the persistence feature is enabled the httpcontext is null.
There is a different way to...
Hi,
i'm developing an enterprise application using asp.net mvc, wf-wcf services and normal wcf. I want use a unique point of view of unmanaged exception and my problem is integrate wf-wcf services with ELMAH. The problem is that in wf-wcf i can't decorate di class with the elmah attribute so i make that using web.config if is possible.
...
i need to display current status of a document approval workflow task in asp.net web page with a specific activity highlighted.
i have seen the visual workflow tracker example (in wf&wcf samples) but i have two issues,
1-i have to render workflow in asp.net not in a wpf app.
2-i don't need to display current status with workflow runn...
Hi
I have created a couple of activities and stored them as XAML.
Opening them in the Workflowdesigner works great and I can Execute them.
Now I would like to create a new Activity and add the activities I created to it.
Basically loading it from the XAML and into the designer as part of another activity/flow.
I have tried adding my act...
I have a WF service with a custom activity and a custom designer (WPF). I want to add a validation that will check for the presence of some value in the web.config file.
At runtime I can overload void CacheMetadata(ActivityMetadata metadata) and thus I can do the validation happily there using System.Configuration.ConfigurationManager t...
Hi,
I`m gettin the following exception while invoking my workflow (dynamically):
The following errors were encountered while processing the workflow tree:
'DynamicActivity': The private implementation of activity '1: DynamicActivity' has the following validation error: Compiler error(s) encountered processing expression "TryC...
I am working on a WF4 project for manager's to approve requests made to them for resources needed. I and am passing in an argument of a custom type, a class called "Request". The Request class contains a List of type Player where "Player" is another class I've created to represent the approving manager. I'm using the DataContract Seri...
theproblemsolver has an example to show the status of workflow as image for wf3, the question is how to do the same thing in wf4?
http://msmvps.com/blogs/theproblemsolver/archive/2007/01/07/adding-activity-event-status-to-a-workflow-image.aspx
...
Hello everyone,
I would like to achieve the following: all the workflows created should have the same structure (validation, execution, save results), and all the developers should implement those three stages (maybe leaving it empty). Similar to inheritance with abstract methods.
Any ideas?
...
We are running several the same ASP.NET applications (one per customer) based on our custom framework (libraries). Each application use its own database (Initial Catalog in the term of connection string). Now we would like to add workflow capability (of course 4.0 ;) to the applications. So the particular workflows will be the same for a...
I skimmed through the documentation but couldn't find an event handler to intercept activity creation in a workflow instance. I want to be notified whenever a new activity is created / entered.
Thanks.
...
We are running several ASP.NET applications (one per customer) based on our custom framework (which just extend ASP.NET). Each web application use its own database (Initial Catalog in the term of connection string). Now we would like to add workflow capability to the applications (to our framework respectively). The particular workflows ...
Is there any guideline to make the decision where to host WF: in our own custom windows NT service or inside IIS?
...
I have a workflow composed of many custom activities. All these activities need to access startup arguments of the workflow itself. I can define InArgument inside all these custom activities and bind the workflow arguments to custom activity arguments but I am not comfortable with this solution. What is the best way to access workflow le...