Skip to main content

Asset Request Events

Summary

The request family: AssetRequested when an asset request is created, and AssetRejected when a pending request is rejected.

Audience

Engineering, integration, QA, architecture, security, and product reviewers.

Reference Content

Events

EventAggregate transitionNotesNotification template
AssetRequestedRequest created (Requested)AssetCompatId may be 0 at createAsset.Requested
AssetRejectedPending request rejected (Rejected)Captures the requesterAsset.Rejected

AssetRequested

Raised by Asset.CreateRequest. Because the database key is assigned in the same transaction as the create, the numeric AssetCompatId may still be 0 when this event is built. Consumers key on AssetCode. The completeness guard requires a resolvable tenant, AssetId, AssetCode, AssetName, AssetType, Status, and Condition, but not a positive AssetCompatId.

AssetRejected

Raised by Asset.Reject when a pending request is rejected. The snapshot captures the requester's identity and Status = Rejected. When workflow approval is enabled, a rejection callback drives this transition.

Public-safety note

Actual requester identifiers and asset codes are intentionally excluded.

Source References

  • microservices/src/asset-service/Domain/Asset/Asset.cs
  • microservices/src/asset-service/Domain/Asset/AssetDomainEvents.cs
  • microservices/src/contracts/Events/AssetLifecycleEvents.cs

See Also

Keywords

  • AssetRequested
  • AssetRejected
  • Request lifecycle

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-17
  • Review cycle: Quarterly