A workflow that want users to be able to set start parameters before it is used should be marked with this attribute and have Url set to a usercontrol. The given usercontrol should implement IWorkflowStartParameterHandler

Namespace:  EPiServer.WorkflowFoundation.UI
Assembly:  EPiServer.WorkflowFoundation (in EPiServer.WorkflowFoundation.dll) Version: 6.1.379.0

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class WorkflowPlugInAttribute : GuiPlugInAttribute

Remarks

The usercontrol should be deployed to given Url before workflow is used

Examples

Shows how attribute can be applied to workflow class to state usercontrol to set start parameters
CopyC#
[WorkflowPlugIn(
    Area = EPiServer.PlugIn.PlugInArea.None, 
    UrlFromUtil = "plugins/CustomWorkflowStart.ascx")]
public sealed class CustomWorkflow : SequentialWorkflowActivity
{
}

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    EPiServer.PlugIn..::.PlugInAttribute
      EPiServer.PlugIn..::.GuiPlugInAttribute
        EPiServer.WorkflowFoundation.UI..::.WorkflowPlugInAttribute

See Also