function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
z_harika88z_harika88 

How to find scheduled archiving date for published articles in apex or SOQL

Hi,

We have created a batch apex which updates the published articles.While running the code,we have gone through the following issue:
We have some published articles that are scheduled for archiving.If we run the code for these kind of articles,then automatically the scheduled date is cancelled.
We didn't find any field in knowledge object to get the scheduled archival date.

I would like to know are there any workaround to get the information of articles that are scheduled for archiving.
Please suggest the way to retrieve the information either in Apex or in SOQL.

Thanks,
Harika.