--- title: "Document assigned" slug: "doc-document-action-document-assigned" updated: 2026-04-02T10:12:41Z published: 2026-04-02T10:12:41Z canonical: "docs.lobstersoftware.com/doc-document-action-document-assigned" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Document assigned The 'Document assigned' event is triggered, when a document reference to a data object is successfully resolved (see [Documents](/v1/docs/en/doc-document)). Resolving the document reference is attempted when a document is created and after changes to the 'Reference' or 'Reference type' properties. In this case, the 'Referenced object', 'Reference status' and 'Description' properties of the document object are updated. The resolved data object is provided as a data context for event handling. The **Variable** `document` contains the referenced document. **NOTE:** An event handler responding to 'Document assigned', may prevent the referencing of the document by an 'Abort' event action. Example: In the following example, the event handler responding to 'Document assigned' checks if the referenced data object is the 'Shipment' type. For shipments, the referencing of documents sized > 500KB is aborted with a notification. ![images/download/attachments/27691715/image2018-12-12_9-40-25-version-1-modificationdate-1544604027000-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2018-12-12_9-40-25-version-1-modificationdate-1544604027000-api-v2.png)