How to get correct DocumentID right after Requirement creation in a trigger?
Hello team,
How to get correct DocumentID right after Requirement creation in a trigger?

very simple code returns 0
theRequirementDocumentID = delta.getDocumentID();
print("*** Requirement Document ID for " + delta.getType() + " " + delta.getID() + " is: " + delta.getDocumentID());
After second Text edit it goes ok though.
But I need to get DocID right after Requirement creation.
Problem in trigger Rule definition?
Now set as Type = New [Requirement]
Many thanks,

