A hook event that fires for every Document type after conclusion of an update workflow.
Substitute the Document name in the hook event to target a specific Document type, for example "updateActor".
This hook fires for all connected clients after the update has been processed.
updateDocument
Parameters
document: Document
The existing Document which was updated
changed: object
Differential data that was used to update the document
options: DatabaseUpdateOperation
Additional options which modified the update request
userId: string
The ID of the User who triggered the update workflow
A hook event that fires for every Document type after conclusion of an update workflow. Substitute the Document name in the hook event to target a specific Document type, for example "updateActor". This hook fires for all connected clients after the update has been processed.
updateDocument