A pending action represents an intended change that has not yet been committed to an object on the server. When you call a method that changes an underlying object, a subclass of PendingAction is created that corresponds to the action. For example, calling Document.Checkout creates a Checkout subclass. The pending action is added to the underlying object’s ordered list of pending actions (an automatically-generated PendingActions collection). For each subsequent action (such as locking and unlocking, changing the class, freezing, and so on) taken on the object, an item is added to the pending actions list. When you commit the object, for example, by calling the Save method or, in the case of batch operations, by committing the batch, the underlying object (and its collection of pending actions) is sent to the server and changes are written to the repository in the order in which they occur in the object’s pending actions list.
A PendingAction object has a parameter bag that accompanies the action taken on the underlying object. The PendingAction class provides Get and Put methods for retrieving and setting parameters in the parameter bag. For example, if you change the class of an object, the identity of the new class is communicated as a parameter.

You can retrieve an object’s accumulated pending actions by calling its GetPendingActions method.
Assembly: FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class PendingAction _ Implements ISerializable |
C# |
---|
[SerializableAttribute] public class PendingAction : ISerializable |
Visual C++ |
---|
[SerializableAttribute] public ref class PendingAction : ISerializable |
JavaScript |
---|
FileNet.Api.Action.PendingAction = function(); Type.createClass( 'FileNet.Api.Action.PendingAction', null, ISerializable); |
Inheritance Hierarchy
FileNet.Api.Action..::.PendingAction
FileNet.Api.Action..::.ApplySecurityTemplate
FileNet.Api.Action..::.ChangeClass
FileNet.Api.Action..::.ChangeState
FileNet.Api.Action..::.Checkin
FileNet.Api.Action..::.Checkout
FileNet.Api.Action..::.Create
FileNet.Api.Action..::.Delete
FileNet.Api.Action..::.DemoteVersion
FileNet.Api.Action..::.Freeze
FileNet.Api.Action..::.InstallAddOn
FileNet.Api.Action..::.Lock
FileNet.Api.Action..::.MoveContent
FileNet.Api.Action..::.PromoteVersion
FileNet.Api.Action..::.RaiseEvent
FileNet.Api.Action..::.Recover
FileNet.Api.Action..::.TakeFederatedOwnership
FileNet.Api.Action..::.Unlock
FileNet.Api.Action..::.Update