Accessing Object History Programmatically Using the SDK
Published Feb 15 2019 08:11 AM 146 Views
First published on TECHNET on Sep 16, 2011

I wrote a quick sample console application to show how to use the SDK to access the history information about objects.  The output looks like this:

In this example, I created an incident and then changed the title on it.  That created two “transactions”.  Each transaction has its own date/time stamp and an indication of which user initiated the transaction (FABRIKAM\Administrator).  Then each of the property value changes are listed and then the relationship add/remove actions that happened.

The code itself is a little bit tricky to figure out on your own, but with the example below it should be pretty easy to figure out:

I’ve attached the code project as an attachment to this blog post.

Version history
Last update:
‎Mar 11 2019 08:52 AM
Updated by: