I am trying to write a workflow template to simplify modeling a new workflow. The workflow template include some predefiend activities and an empty ifelseactivity there. When the user wants to define a new workflow,
it use this workflow as base workflow(something like NewWorkflow: WorkflowTemplate), and then add some ifelsebranchactivities in the empty ifElseActivity.
I tried to implement it. But I met some problems . First, When I drag a new ifElseBranchActity into the hole, it was not permitted and said "Cannot add or remove child activities on a non-editable activity". Furthermore,
in the InitializeComponent() function,the designer will generate all the elements that has in the template workflow again. So there will be two activities with the same name, one is inherited from the workflow template, one is generated
in the new workflow.
Is there any way to implement my requirement in workflow 3.5? or workflow 4?
Best wishes to you all!
View Complete Post