Class AssociateWithPage
Activity that associates a workflow instance with an EPiServer page.
Inherited Members
Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0Syntax
public class AssociateWithPage : InvokesBase<AssociateWithPage>
Remarks
If a workflow instance is associated with a page, only page events concerning that page will be delivered to the instance. For example, if a workflow instance is interested in a specific page version being published, if that instance is associated with the page, only publish events for that page will be delivered. If a workflow instance is started from a page related event, the instance and the page will be automatically associated. If a workflow instance is interested in an event regardless of which page caused the event (e.g. the instance is interested in when a page is deleted) then the instance can call AssociateWithPage with the PageLink value set to EmptyReference.
Constructors
AssociateWithPage()
Initializes a new instance of the AssociateWithPage class.
Declaration
public AssociateWithPage()
Fields
LogActionProperty
Register LogAction property so it can be databound.
Declaration
public static DependencyProperty LogActionProperty
Field Value
Type | Description |
---|---|
System.Workflow.ComponentModel.DependencyProperty |
PageLinkProperty
Register PageId property so it can be databound.
Declaration
public static DependencyProperty PageLinkProperty
Field Value
Type | Description |
---|---|
System.Workflow.ComponentModel.DependencyProperty |
Properties
LogAction
Gets or sets if this action should be logged to history items for workflow instance
Declaration
public bool LogAction { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Must be serializable
PageLink
Gets or sets which page version this instance should be associated with
Declaration
public PageReference PageLink { get; set; }
Property Value
Type | Description |
---|---|
PageReference |
Methods
OnMethodInvoking(EventArgs)
Provides a hook for derived classes to set System.Workflow.Activities.CallExternalMethodActivity.ParameterBindings. This method is called just before the external method is run.
Declaration
protected override void OnMethodInvoking(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the data for the System.Workflow.Activities.CallExternalMethodActivity.MethodInvoking event. |