isArchived of Timeline(DevelopmentLine) always returns false
Hi,
I was trying to retrieve the value of isArchived of Timeline using RTC API but i noticed that even when the timeline is set to archived through the web client API always returns false.
Please let me know if the code i am using to retrieve the timeline is fine. Is there any other way of retrieving the value.
IDevelopmentLineHandle[] devLines = iprojectArea.getDevelopmentLines();
IDevelopmentLine developmentLine =
auditableClient
.resolveAuditable(devLines[0] , ItemProfile.DEVELOPMENT_LINE_DEFAULT, monitor);
boolean isArchived = developmentLine.isArchived();
I was trying to retrieve the value of isArchived of Timeline using RTC API but i noticed that even when the timeline is set to archived through the web client API always returns false.
Please let me know if the code i am using to retrieve the timeline is fine. Is there any other way of retrieving the value.
IDevelopmentLineHandle[] devLines = iprojectArea.getDevelopmentLines();
IDevelopmentLine developmentLine =
auditableClient
.resolveAuditable(devLines[0] , ItemProfile.DEVELOPMENT_LINE_DEFAULT, monitor);
boolean isArchived = developmentLine.isArchived();