Ignore “item already on the table” warning

I’m using the “table.createRow(iItem);” command to add different IItems on the Affected Items of a Change. The problem is that I’m iterating on the Where Used list of various items, so few results may be already on the table.
Is there a way to force the program to ignore the warning and go ahead with the other items? Or do I have to add a verify step before doing the createRow? In this last case how can  I do it? Thanks!

Add Comment
2 Answer(s)

You can use advanced search and find if you get any result
 if (title block.Number Equal to “parent number” and BOM.Item Number equal to “son number” 
then you continue to next number
else create new row with son number

Agile Angel Answered on November 4, 2015.
Add Comment

Thanks for the answer Hagi, I don’t understand what I should do though.

Just to be more clear I will explain my problem with an example:
I have the item X and I add all of his parent items in the Affected Items table of the Change.
I have the item Y and I want to add all of his parent items in the Affected Items table of the Change, but one of them is one of the parent items of the item X, so it’s already on the table.
The program stops and returns an error (“item’s already on the table”); what I’d need is a command or a verify step that permits to the program to ignore the error and to jump to the next item.

Agile User Answered on November 10, 2015.
Add Comment

Your Answer

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