It's all about the answers!

Ask a question

How to capture the events of object link creation in DOORS?

Andrew Clement (7271163) | asked Jan 10 '17, 10:32 a.m.
I am running DOORS

How do I capture object link creation?

I don't want to check the object history for link creation.
I have gone through the DXL manual and it seems that there is no way to capture object link creation with triggers.

Accepted answer

permanent link
Howard Hsiao (5.5k17) | answered Jan 10 '17, 10:51 a.m.

There is no trigger to capture the link creation in real time.

The closest we can get is to use "object sync" trigger to achieve this.
An "object sync" trigger will be run when a object is selected.
In an "object sync" trigger,
[1] save current object's ID and links (to a file)
[2] check previous object's current links (get previous object's ID from the file saved in step 1)
[3] compare with previous object's saved links (from the file saved in step 1)
If there is any change, then link creation has happened.

Andrew Clement selected this answer as the correct answer

One other answer

permanent link
Richard Hesketh (111) | answered Feb 09 '18, 4:51 a.m.
edited Feb 09 '18, 4:57 a.m.

Hi Andrew

This is a very old post, but in case you haven't yet seen it, DOORS (released some months after you posted, in June 2017) added triggers on link creation. See the release notes for more information:

Your answer

Register or to post your answer.