Assembly: EPiServer.WorkflowFoundation (in EPiServer.WorkflowFoundation.dll) Version: 8.0.0
[SerializableAttribute] [ActivityValidatorAttribute(typeof(AddUserDataValidator))] public class AddUserData : InvokesBase<AddUserData>
Activity that adds custom data to a UserData dictionary.
|AddUserData Constructor||Initializes a new instance of the AddUserData class.||public|
|GetIdentity||Extracts the identity from the object if it has one.||public, static|
|GetOriginalType||Gets the Type of the current object, ensuring that the eventual type that could be generated by a proxy interceptor is ignored.||public, static|
|OnMethodInvoking||Provides a hook for derived classes to set ParameterBindings. This method is called just before the external method is run.||protected|
|SetIdentity||Sets the identity into the object if supported||public, static|
|ToPropertyBag(Object)||Create a PropertyBag instance and populates it with its properties The algorith for extracting properties is as follows: 1) Property must a have a getter and setter 2a) Getter must be public OR 2b) The class must be marked either with the DataContractAttribute or EPiServerDataContractAttribute and the property must be marked either with the DataMemberAttribute or EPiServerDataMemberAttribute||public, static|
|ToPropertyBag(Object, IEnumerable(String))||Create a PropertyBag instance and populates it with its properties||public, static|
|InterfaceType||Gets or sets external method's declaring interface that has the ExternalDataExchangeAttribute.||public, sealed|
|Key||Gets or sets the key for the userdata||public|
|LogAction||Gets or sets if this action should be logged to history items for workflow instance||public|
|MethodName||Gets or sets the name of the method to be called on the local service registered with the ExternalDataExchangeService.||public, sealed|
|Value||Gets or sets the value for the userdata||public|
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).