A IWorkflowEventAction object is set on an subscription of type IInstanceWorkflowSubscription or IClassWorkflowSubscription. Also set on the subscription is the identifier of the workflow to be launched.
To create a IWorkflowEventAction object and persist it to a Content Engine object store, call the CreateInstance method on the Factory.WorkflowEventAction class.
You can instantiate a IWorkflowEventAction object in the following ways:
- Call the GetInstance or FetchInstance method on the Factory.WorkflowEventAction class.
- Get the EventActions property on an IObjectStore, and iterate the EventActionSet collection for instances of IWorkflowEventAction objects.
- Get the EventAction property on a IClassWorkflowSubscription or IInstanceWorkflowSubscription object.
Namespace:
FileNet.Api.Events
Assembly:
FileNet.Api (in FileNet.Api.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Interface IWorkflowEventAction _ Implements IRepositoryObject, IEventAction, IAction, IReplicable, _ ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
| C# |
|---|
public interface IWorkflowEventAction : IRepositoryObject, IEventAction, IAction, IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
| Visual C++ |
|---|
public interface class IWorkflowEventAction : IRepositoryObject, IEventAction, IAction, IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
| JavaScript |
|---|
FileNet.Api.Events.IWorkflowEventAction = function(); FileNet.Api.Events.IWorkflowEventAction.createInterface('FileNet.Api.Events.IWorkflowEventAction'); |
Remarks
Metadata
Auditable: true
AllowsInstances: true
AllowsSubClasses: true
ClassDefinitionName: ReplicableClassDefinition
IsDependent: false
IsHidden: false
Name: DisplayName
Searchable: true
StorageType: ObjectStore
SuperclassName: EventAction