Represents a subscription that initiates a workflow in response to events generated by all objects of a particular class. A IClassWorkflowSubscription object provides object properties to link a workflow (IWorkflowDefinition), a target object, and one or more events (ISubscribedEvent) that can be triggered on the target object. These objects must exist before you can create a IClassWorkflowSubscription object and persist it.

To create a IClassWorkflowSubscription object, call the createInstance method on the Factory.ClassWorkflowSubscription class.

You can instantiate a persisted IClassWorkflowSubscription object in the following ways:

  • By calling the GetInstance or FetchInstance method on the Factory.ClassWorkflowSubscription class.
  • By instantiating a ISubscriptionSet collection, then returning a IClassWorkflowSubscription object from the collection.
  • By getting the WorkflowSubscriptions property on an IClassDefinition object, then iterating the IClassWorkflowSubscriptionSet collection.

Namespace:  FileNet.Api.Events
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Interface IClassWorkflowSubscription _
	Implements IClassSubscription, ISubscription, IActionConsumer, IRepositoryObject,  _
	IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject,  _
	ICloneable
C#
public interface IClassWorkflowSubscription : IClassSubscription, 
	ISubscription, IActionConsumer, IRepositoryObject, IReplicable, ISubscribable, 
	IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable
Visual C++
public interface class IClassWorkflowSubscription : IClassSubscription, 
	ISubscription, IActionConsumer, IRepositoryObject, IReplicable, ISubscribable, 
	IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable
JavaScript
FileNet.Api.Events.IClassWorkflowSubscription = function();
FileNet.Api.Events.IClassWorkflowSubscription.createInterface('FileNet.Api.Events.IClassWorkflowSubscription');

ToggleRemarks

Metadata

Auditable: undefined
AllowsInstances: true
AllowsSubClasses: true
ClassDefinitionName: ReplicableClassDefinition
IsDependent: false
IsHidden: false
Name: DisplayName
Searchable: true
StorageType: ObjectStore
SuperclassName: ClassSubscription

ToggleSee Also