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

Agile Talent Asked on March 14, 2017 in Agile PLM (v9),   Product Collaboration.
Add Comment
2 Answer(s)

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.”);
}

Agile Angel Answered on March 16, 2017.
Add Comment

Thanks Arif ,it works!!

Agile Talent Answered on March 22, 2017.

Glad it helped. Cheers

on March 22, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.