Discussions
Categories
Deleting custom object records

Hi there!
I'd like to ask you if there is any option to automatically erase data of custom object records from a canvas directly.
I usually work with update rules when I want to erase some data of contacts but when the info is saved on a custom object it's not possible to apply this rule directly on a step (it doesn't appear btw the options).
Thanks in advance,
Best Answer
-
@Victor M Lopez - why not use the Program Canvas for the custom object record. You can set a listener on the CO, check if mapped to linked contact, if not, delete the record, if they do, check if the meet other criteria then keep or delete... seems straightforward but not much info above on exactly what you want to do - and detail always helps!
Answers
-
Sounds great @Greg_W ,
I can work with this process and solve my problem!
Thank you and have a great day :)
-
this only works for contact linked CustomObjects. Accountbased CustomObjects require a script to call the API's and loop through each record.
-
I'll take it into account,
thanks @Jacob Esson !
-
i have answered a post before with a solution in Python: How to Bulk Delete Custom Object Records — oracle-topliners