cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

I pass the value to Delete-object query in Info-engine in loop.

ukrishnan-3
10-Marble

I pass the value to Delete-object query in Info-engine in loop.

I pass the value to the Delete-object query in InfoEngine in a loop. If an object is successfully deleted, the loop moves to the next value. However, if a value fails to delete, the loop exits. I need a solution to ignore any failed deletions and continue to the next value, ensuring all values are processed through the loop

2 REPLIES 2
rleir
17-Peridot
(To:ukrishnan-3)

Show your code to get more help.  If it is Java code, maybe you are getting an exception?

@rleir , he’s pretty clear that he’s using Delete-Object webject. Not Java.

 

That said, you’re right. He should show his Info*Engine task code.Seems like SOP to me if posting a question like this. No?

Announcements

Top Tags