I am trying to retrieve the operational attribute, modifytimestamp in the workflow for the purpose of identify if an account was recently orphaned like 2 minutes ago against weeks or months ago. This information will be crucial in the aid of approval process for assigning account ownership.
I tried using DirectoryObject.getProperty("modifytimestamp") but it was undefined.
Listing the account's properties using getPropertyNames() shows that modifytimestamp was not retrievable.
Any ideas how I can retrieve it the least hassle way?