When I set the status on an item to"Released" the Last Changed date doesn't update. How do I get the date to update?
Best Answer
S
SystemWeaver Support
said
over 7 years ago
Hello!
We have two Last Changed dates. The first is for the content of the item: LastChanged. The second is for the item's status: StatusLastChanged. We distinguish between these two. So, when you change the status of an item, it is the StatusLastChanged that will update.
item.LastChanged; // Timestamp for last change to item content. item.StatusLastChanged; // Timestamp for last change to item status.
Hope this information is helpful.
1 Comment
SystemWeaver Support
said
over 7 years ago
Answer
Hello!
We have two Last Changed dates. The first is for the content of the item: LastChanged. The second is for the item's status: StatusLastChanged. We distinguish between these two. So, when you change the status of an item, it is the StatusLastChanged that will update.
item.LastChanged; // Timestamp for last change to item content. item.StatusLastChanged; // Timestamp for last change to item status.
Stacey Hwasser
When I set the status on an item to"Released" the Last Changed date doesn't update. How do I get the date to update?
Hello!
We have two Last Changed dates. The first is for the content of the item: LastChanged. The second is for the item's status: StatusLastChanged. We distinguish between these two. So, when you change the status of an item, it is the StatusLastChanged that will update.
item.LastChanged; // Timestamp for last change to item content.
item.StatusLastChanged; // Timestamp for last change to item status.
Hope this information is helpful.
SystemWeaver Support
Hello!
We have two Last Changed dates. The first is for the content of the item: LastChanged. The second is for the item's status: StatusLastChanged. We distinguish between these two. So, when you change the status of an item, it is the StatusLastChanged that will update.
item.LastChanged; // Timestamp for last change to item content.
item.StatusLastChanged; // Timestamp for last change to item status.
Hope this information is helpful.
- 
										
											Support for Autotest of API applications
										 
- 
										
											Major version exception in API
										 
- 
										
											Part multiplicity exception in API
										 
- 
										
											Get enum attribute value description
										 
- 
										
											Detecting connection status?
										 
- 
										
											Item type name from SID
										 
- 
										
											Adding an existing item as part to an item using C# API 
										 
- 
										
											Script filer och API
										 
- 
										
											How do I return a DataTable instead of IswItems?
										 
See all 20 topics