Activity that adds custom data to a UserData dictionary.

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

Syntax

C#
[SerializableAttribute]
[ActivityValidatorAttribute(typeof(AddUserDataValidator))]
public class AddUserData : InvokesBase<AddUserData>

Remarks

Each workflow instance (WorkflowDefinitionInstance) has a dictionary<string, object> that can be used to hold custom data for the instance. A workflow instance can pass data to its associated workflowDefinitionInstance object by using the AddUserData activity. The requirement for the passed objects is that they are serializable and registered with Object store (see the topic Developing Workflows in the Developer's Guide for further information regarding Object store).

Inheritance Hierarchy

See Also