Question
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
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
Pegasystems Inc.
IN
Hi,
You can loop through the list and use Obj-Delete/Obj-Delete-By-Handle.
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
Pegasystems Inc.
IN
Did you commit the changes after Obj-Delete is done?
Could you please share the screenshot of the activity if possible.
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
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
Putumbaka
US
Hi Check the screenshots attached.
Dont know why obj delete by handle step is skipped
Updated: 14 Jun 2021 7:38 EDT
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
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
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