Represents a subscription that initiates a workflow in response to events generated by a single object instance.
A InstanceWorkflowSubscription object provides object properties to link
a workflow (WorkflowDefinition),
a target object, and one or more events (SubscribedEvent)
that can be triggered on the target object.
These objects must exist before you can create a InstanceWorkflowSubscription object
and persist it.
To create a InstanceWorkflowSubscription object, call the CreateInstance method on the Factory.InstanceWorkflowSubscription class.
You can instantiate a persisted InstanceWorkflowSubscription object in the following ways:
- By calling the GetInstance or FetchInstance method on the Factory.InstanceWorkflowSubscription class.
- By instantiating a SubscriptionSet collection, then returning a InstanceWorkflowSubscription object from the collection.
- By getting the WorkflowSubscriptions property on an VersionSeries, Document, Folder or CustomObject object, then iterating the InstanceWorkflowSubscriptionSet collection.
Namespace:
FileNet.Api.Events
Assembly:
FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface IInstanceWorkflowSubscription _ Implements IInstanceSubscription, ISubscription, IActionConsumer, IRepositoryObject, _ IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, _ ICloneable |
C# |
---|
public interface IInstanceWorkflowSubscription : IInstanceSubscription, ISubscription, IActionConsumer, IRepositoryObject, IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
Visual C++ |
---|
public interface class IInstanceWorkflowSubscription : IInstanceSubscription, ISubscription, IActionConsumer, IRepositoryObject, IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
JavaScript |
---|
FileNet.Api.Events.IInstanceWorkflowSubscription = function(); FileNet.Api.Events.IInstanceWorkflowSubscription.createInterface('FileNet.Api.Events.IInstanceWorkflowSubscription'); |
Remarks
Metadata
Auditable: undefined
AllowsInstances: true
AllowsSubClasses: true
ClassDefinitionName: ReplicableClassDefinition
IsDependent: false
IsHidden: false
Name: DisplayName
Searchable: true
StorageType: ObjectStore
SuperclassName: InstanceSubscription