Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Putumbaka
US
Last activity: 23 Apr 2020 12:31 EDT
How to delete rows from Data Table using Activity
I have a requirement to delete all rows from data table by running activity. Can I use OBJ delete method?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 23 Apr 2020 12:31 EDT
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Putumbaka
US
Tried changing the pxresults to pxResults but still same error.
I created new activity with exactly same steps and this is working fine.
Dont know whats the reason for it Thanks for all the help
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
Hi,
You can loop through the list and use Obj-Delete/Obj-Delete-By-Handle.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Putumbaka
US
obj delete just deleting the page from clipboard/tracer but i can still see date in data table
Updated: 14 Jun 2021 7:38 EDT
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
Did you commit the changes after Obj-Delete is done?
Could you please share the screenshot of the activity if possible.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Putumbaka
US
Yes i did gave commint My problem is after obj browser activity going to comming step skipping obj-delete-by handle Attached screenshots
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
Coforge DPA
GB
Hi
Can you do below things:
1. Update step page of loop to bcd.pxResults
2. Define the page in pages and classes tab.
Please share the tracer screenshot, if it still doesnt work.
Regards
Bhavya
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Putumbaka
US
Hi Check the screenshots attached.
Dont know why obj delete by handle step is skipped
Updated: 14 Jun 2021 7:38 EDT
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
It might be because Obj-Browse results will be stored in pxResults and you are giving pxresults.
Could you please try changing it to pxResults.
-
Bhargav Putumbaka
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689968000/54c68a50-22c7-47d5-98f2-63df69104811.jpg?itok=I5MMyPJN)
Coforge DPA
GB
Hi
As I mentioned in my comment, you need to update the page name to bcd.pxResults.
You page name is incorrect so the loop wont execute.
Regards
Bhavya
-
Bhargav Putumbaka Vinoth K
Accepted Solution
Updated: 23 Apr 2020 12:31 EDT
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Putumbaka
US
Tried changing the pxresults to pxResults but still same error.
I created new activity with exactly same steps and this is working fine.
Dont know whats the reason for it Thanks for all the help