Document Working Copy Events

The document working copy events occur only if the Work Isolation Mode of the vault is enabled, and they occur instead of the document type workflow events.

Work Isolation Mode is a legacy feature. We still support customers who have it enabled, but we do not allow it to be enabled in new Vaults.

ClosedDocument Working Copy Event Sequences

The events that occur for the document working copy commands are shown in the following lists in the sequence that they occur.

ClosedCreate Working Copy event sequence

  • DocGenericEvent_PrepareCommand

  • DocWorkingCopyEvent_BeforeCreateWC

  • DocWorkingCopyEvent_AfterCreateWC

  • DocWorkingCopyEvent_TerminateCreateWC

  • DocGenericEvent_*OpenInApplication events — In PowerWeb only if the Accruent Upload/Download Control option Open in application is enabled

ClosedRevoke Working Copy event sequence

  • DocGenericEvent_PrepareCommand

  • DocWorkingCopyEvent_InitializeRevokeWC

  • DocWorkingCopyEvent_BeforeRevokeWC

  • DocWorkingCopyEvent_AfterRevokeWC

  • DocWorkingCopyEvent_TerminateRevokeWC

ClosedSubmit Working Copy event sequence

  • DocGenericEvent_PrepareCommand

  • DocWorkingCopyEvent_InitializeSubmitWC

  • DocWorkingCopyEvent_BeforeSubmitWC

  • DocWorkingCopyEvent_AfterSubmitWC

  • DocWorkingCopyEvent_TerminateSubmitWC

Closed*CreateWC Events

Occurs when a user creates working copies of documents.

Syntax

DocWorkingCopyEvent_*CreateWC(Batch)
Parameters
Name Description

Batch

An object that represents the batch of documents the user has selected.

Closed*RevokeWC Events

Occurs when a user revokes working copies of documents.

Syntax

DocWorkingCopyEvent_*RevokeWC(Batch)
Parameters
Name Description

Batch

An object that represents the batch of documents the user has selected.

Closed*SubmitWC Events

Occurs when a user submits working copies of documents.

Syntax

DocWorkingCopyEvent_*SubmitWC(Batch)
Parameters
Name Description

Batch

An object that represents the batch of documents the user has selected.

2022