Questions tagged [workflow-rehosting]

Provides a mechanism to the end users to author workflows. No recompilation or build required by the programmer to make this work/deployable.

Provides a mechanism to the end users to author workflows. No recompilation or build required by the programmer to make this work.

From a Microsoft .NET view point it is workable in Microsoft .NET WF 3.0/3.5 and greatly enhanced in WF 4.0

19 questions
4
votes
1 answer

WF4 - Rehosted Workflow Designer - Can Host expose services/data to Activities at DESIGN time?

I wrote an application that re-hosts the Workflow 4 Designer (System.Activities.Presentation.WorkflowDesigner). Activities are discovered and dynamically loaded into the toolbox so they can be added to diagrams. I am aware of how to expose…
3
votes
2 answers

Rehosted Workflow Designer default imported namespaces

I'm trying to rehost the WF4 Workflow Designer. In the "Imports" tab, I'd like to have some namespaces imported by default. It looks like this: Imported namespaces http://imageshack.us/m/850/5383/imports.png After a lot of research, I figured out…
3
votes
1 answer

WF4 - Rehosted Workflow Designer - Readonly View with Enabled PropertyInspectorView

I wrote an application that re-hosts the Workflow 4 Designer (System.Activities.Presentation.WorkflowDesigner) as well as displays the PropertyInspectorView to allow for modification of activity parameters. What I would like to do is disable the…
2
votes
2 answers

Default values for arguments in rehosted WF4 designer fail to parse

The results from a rehosted designer (WF4) have an issue when adding a default value to an argument. Every other case seems to work fine. This is the (abridged) xaml of a (nearly) empty workflow.
Hubris
  • 1,842
  • 2
  • 18
  • 26
2
votes
1 answer

Showing dynamic Arguments on WF4 activity designer

I have created a custom activity that has Arguments that are created at design time, and I am having an issue associating them with an ExpressionTextBox in the designer. The ExpressionTextBox shows in the designer, and they reflect the value of the…
1
vote
1 answer

Change WF4 ActivityDesigner theme

I want to change my rehosted activities look to: Already tried ActivityDesignerTheme Need to do it without using WorkflowViewElement because I don't want to lose it's behaviors (breakpoint, expanding). If it's not possible, is there a way to change…
1
vote
1 answer

WF4 - Rehosted workflow designer - Localization

Is there a way to do localization on a rehosted workflow designer? If so, how?
Joao
  • 7,366
  • 4
  • 32
  • 48
1
vote
1 answer

How to set custom Icon on Custom Activity Designer in Workflow Foundation?

I am Re-Hosting the Workflow Foundation of .NET Framework. And I have a custom Activity. I tried to point out the key points of my folder architecture as well as the icon properties. What I want is to display a custom icon on my custom activity. But…
E-A
  • 1,995
  • 6
  • 33
  • 47
1
vote
0 answers

How do I dynamically hide empty categories in toolbox of rehosted designer

We are rehosting the designer and the System.Activities.Presentation.Toolbox.ToolboxControl in an application. We have very many activities, grouped into quite some categories in the toolbox (>300 activities in 50 categories...) When I type some…
Achim
  • 828
  • 6
  • 21
1
vote
1 answer

WF4 Rehosted Designer

At design time,Can I dynamically change the root activiti's variables by code? Like this: (Designer.Context.Services.GetService().Root.GetCurrentValue() as RootActivity).Variables.Add(new Variable("a",false)); Give me some…
1
vote
1 answer

How to get the Activities of a Workflow from within the rehosted WorkflowDesigner

In a rehosted workflow, if I do have a variable of type of my WorkflowDesigner, and I create a workflow within it (from the UI), how do I get the list of the activities later programmatically? so the input is the instance of my WorkflowDesigner ,…
user1298925
  • 2,304
  • 7
  • 29
  • 43
1
vote
1 answer

In a ReHosted WfDesigner why I cant get the activities within it ? And how to get the current Activity?

I am working with a rehosted workflow designer. In my C# code I do have access to the instance of the WorkflowDesigner. How do I get access to the current activity that I am at (the cursor is at ) or I have just opened it. This is the workflow I…
1
vote
1 answer

Workflow rehosted designer

I wish I could understand how the loading of xaml files into rehosted designer works. Depends of xaml definition I get different results. Xaml, root node in the file is Activity that cointans flowchart. Here it's enough using…
Mat38
  • 97
  • 1
  • 12
0
votes
0 answers

C# Expressions in Rehosted WF

I am developing a WPF app that rehosts WF designer for some RPA components. I followed this steps. Everything works fine but there is a problem about expression language of default components. All components use Visual Basic expressions and I can't…
Ahmet
  • 1
  • 1
0
votes
0 answers

Strange exception catching in workflow foundation

In one of my projects i am adding a reference to another project which contains a rehosted designer for WF4. My scenario is as follows: 1. Load a worklflow from an existing xaml file. 2. Throw an exception in my main application. At this point,…
1
2