Activity that creates an Task for a user/role in EPiServer.

Namespace:  EPiServer.WorkflowFoundation.Activities
Assembly:  EPiServer.WorkflowFoundation (in EPiServer.WorkflowFoundation.dll) Version: 6.0.530.0


public class CreateTask : InvokesBase<CreateTask>


AssignTo and TaskSubject are mandatory and if not seet in runtime an WorkflowException will be thrown

It is possible to specify which UI should be loaded when the user who has been assigned the task clicks on the task link. To associate a task with a specific user control the property AssociatedActivity can be used. The related activity must have ActivityPlugInAttribute attribute with a valid URL to a usercontrol. If AssociatedActivity is not set for a task, the corresponding workflow instance will be searched for waiting activities (event based activities) when the task link is clicked. The usercontrol specified by the attribute will be loaded if any of the waiting activities has a valid ActivityPlugIn attribute set. If no valid attribute is found the default edit task control will be loaded.

Inheritance Hierarchy

See Also