How to skip Soft deelted items
Hello Sir,
I have list of items I need to search whether those Items are existing in AGILE.
Through SDK code , I am able to get the existing Items in AGILE along with the soft-deleted ones.
But I want to have parts which are searchable in AGILE web-client but not the soft-deleted ones.
Please suggest how to proceed with this case.
Thanks,
Surya
You can put a check for soft-deleted items. Once you load the item you can set a check using isDeleted() method.
if (!itemobj.isDeleted()) {
//Write you logic
}
else {
objLogger.info(“Item ” + itemobj.getName() + ” is already soft-deleted.”);
}