You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何查询DOORS对象的删除日期?已查创建和更新属性未找到删除项

Querying DOORS Object Deletion Dates

Hey there! Great question—let me walk you through what you need to know about tracking deletion dates for DOORS objects.

First off, you're right: by default, DOORS doesn't expose a built-in "deletion date" property in the standard object attribute set. Here's why, and how you can work around it:

  • Check the Recycle Bin (if enabled)
    When you delete an object in DOORS, it's usually moved to the Recycle Bin instead of being permanently erased. You can use DOORS DXL (the built-in scripting language) to pull metadata about objects in the Recycle Bin, including when they were deleted. Here's a quick example snippet to get you started:

    Object o
    for o in recycleBin do {
        print "Object: " o."Object Heading" " | Deletion Date: " o."Deleted On" "\n"
    }
    

    Note that the Deleted On attribute is only available for objects in the Recycle Bin, not active objects.

  • Leverage Audit Logs
    If your DOORS administrator has enabled audit logging, every deletion action (along with timestamps, user info, and object details) is logged. You can request access to these logs from your admin to look up the exact deletion date for a specific object. This is the most reliable method if you need to track historical deletion events.

  • Custom Attribute Workaround (for proactive tracking)
    If you need to ensure you can track deletion dates going forward, create a custom attribute (e.g., Custom Deletion Date) for your objects. Then, use a DXL script to automatically set this attribute to the current timestamp right before deleting the object. This way, even if the object is moved to the Recycle Bin, you'll have that timestamp stored directly on the object.

One important caveat: if an object is permanently deleted (emptied from the Recycle Bin), there's no built-in way to retrieve its deletion date unless you had audit logs enabled or a custom attribute set beforehand.

内容的提问来源于stack exchange,提问作者ZoneRob

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 10:03:30