Activity that associates a workflow instance with an EPiServer page.

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

Syntax

C#
[SerializableAttribute]
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.

Inheritance Hierarchy

System..::.Object
  System.Workflow.ComponentModel..::.DependencyObject
    System.Workflow.ComponentModel..::.Activity
      System.Workflow.Activities..::.CallExternalMethodActivity
        EPiServer.WorkflowFoundation.Activities..::.InvokesBase<(Of <(AssociateWithPage>)>)
          EPiServer.WorkflowFoundation.Activities..::.AssociateWithPage

See Also