Previous Topic: TableNext Topic: ca_pam_getTableData(_id, startIndex, endIndex)


ca_pam_clearTableData(_id, startIndex, endIndex)

Deletes one or more rows of data from a table.

Input Parameters
_id (string)

Specifies the unique identifier of a Table form element.

startIndex (integer)

Specifies the numeric index of the first row of table data to delete.

endIndex (integer)

Specifies the numeric index of the last row of table data to delete.

Return Value

None.

Example
ca_pam_clearTableData('Form.employeeList',0,ca_pam_getTableRowCount('Form.employeeList')-1);

This example deletes all rows in the employeeList table.

You can also find this function in the out-of-the-box content in CA Process Automation.

  1. On the Home page, click Browse Out-of-the-Box Content.
  2. Navigate to the User Interaction Forms folder, then:
    • 07 Populate Table RESTful WS: Populate Table RESTful WS.
    • 08 Populate Table SOAP WS: Populate Table SOAP WS.