External event activities that needs input from an user through an UI when clicking on
a task should be marked with this attribute and have Url to usercontrol specified.
It is possible to specify a usercontrol for a task by setting property
AssociatedActivity
to a activity with this attribute.
The given usercontrol should implement IWorkflowTaskControl
Namespace:
EPiServer.WorkflowFoundation.UIAssembly: EPiServer.WorkflowFoundation (in EPiServer.WorkflowFoundation.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
[AttributeUsageAttribute(AttributeTargets.Class)] public sealed class ActivityPlugInAttribute : GuiPlugInAttribute |
Remarks
The usercontrol should be deployed to given Url before workflow is used.
Examples
Shows how attribute can be set on custom activity
CopyC#
[ActivityPlugIn(
Area = EPiServer.PlugIn.PlugInArea.None,
UrlFromUtil = "plugins/CustomActivity.ascx")]
public sealed class CustomActivity : HandleExternalEventActivity
{
}
Inheritance Hierarchy
System..::.Object
System..::.Attribute
EPiServer.PlugIn..::.PlugInAttribute
EPiServer.PlugIn..::.GuiPlugInAttribute
EPiServer.WorkflowFoundation.UI..::.ActivityPlugInAttribute
System..::.Attribute
EPiServer.PlugIn..::.PlugInAttribute
EPiServer.PlugIn..::.GuiPlugInAttribute
EPiServer.WorkflowFoundation.UI..::.ActivityPlugInAttribute