Agile (MOSC)

MOSC Banner

Clearing Spec Table gives exception

in Agile (MOSC) 1 commentAnswered

I am trying to delete the rows from the Item ->compliance ->Specifications table. But this is throwing exception and not clearing any rows.

The alternative is to iterate through the Table Rows and delete rows one by one. But that might be time consuming. Do we know how to make this .clear() SDK API work?

----------------------------------------------------------------------------

Below is the code snippet used:

 ITable specTable = newItem.getTable(ItemConstants.TABLE_SPECIFICATIONS);

          if (!specTable.isEmpty()) {            specTable.clear();          }

----------------------------------------------------------------------------

Exception thrown by .clear() line of code is as follows:

Caused by: Error code : 60104

Error message : See multiple root causes.

Root Cause exception : com.agile.common.client.value.BatchException: There are errors in this operations. There maybe invalid values. Please verify your data and try again.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center