How to delete a list from database,now useing a activity but can't delete

@jiny0022

What platform version is it? What do you mean by “Can’t delete”? Is it not working? Do you have an error message? Can you share the tracer output XML for analysis?

@MarcLasserre_GCS in pega 8.1, i want to delete a list data in data base ,i creat a activity ,to use this activity delete it

this is erro message.png

@马克·拉塞雷_GCS

@jiny0022

Well looks like you need a lock to delete this instance right? Can you get the lock first before actually deleting?

@MarcLasserre_GCS

where can I get the lock ,i cant find the lock where

@jiny0022

Your Obj-Browse is giving you a list of instances with appropriate keys for locking I guess. So you need to loop on each result page and Obj-Open-By-Handle to lock I think.