Editing custom workflows with Workflow Re-hosting

I prototyped this End User Workflow editor and I based my source from [MSDN] http://msdn.microsoft.com/en-us/library/aa480213.aspx . So far I have made the following settings:

  • I added a new project, Workflow.Core, which will host custom actions and default workflows.
  • The toolbar now displays custom actions that are included in Workflow.Core.
  • When loaded, the workflow designer will show the default workflow from Workflow.Core instead of an empty SequentialWorkflowActivity. In addition to defining the initial workflow, the default workflow contains properties that are set and changed during the execution of the workflow.

The problem is the WorkflowView won't let me edit the default workflow. This is like it in read-only mode, although I can still edit its attributes. It worked fine when I loaded the SequentialWorkflowActivity instance.

Then I tried to add the default workflow activities to the SequentialWorkflowActivity instance and load it. It worked. I was able to drag new actions onto it and make changes to properties. However, reference properties are no longer available in the default workflow.

There is an alternative: I create and include an action to host all properties instead of the default workflow itself. However, it will need an explanation to the client (which I don't think I understand) why there is an ubiquitous activity in all of their custom workflows that doesn't make business logic visible.

In general, I need the workflow designer to edit the default workflows. Therefore, if you have any ideas or suggestions please let me know. I need all the help I can get.

Thanks in advance!

Carlos

+2
c # workflow-foundation


source to share


No one has answered this question yet

Check out similar questions:

1270
Why not inherit from List <T>?
five
Unable to drop custom Workflow activity for TFS2010 in custom build process template
2
WF - how can I use a custom activity without creating it in a separate Activity Workflow library?
2
Including dependencies in a custom workflow
1
User Activity Designers in Workflow Foundation 3.5: How Do They Work?
1
Very simple WF workflow expressed in code
1
How do I set up an activity in the refactored Workflow 4 Designer?
1
Workflow Basics: Edit Activity Arguments
0
Is there a way to use the custom Arguments panel in the redesigned workflow designer
0
Checking a workflow during development



All Articles
Loading...
X
Show
Funny
Dev
Pics