How to clear content of toObject(RecordList)?

Hi everyone.

Does anyone knows the procedure of how to clear the content of a RecordList when being used as a object?

So, I am working in an action where I had to transform my RecordList with toObject(RecordList) and I need to clear its contents. How do I do it?

If I use ListClear it shows a message error saying that it is expected a Generic Record, not an object :/


Hi Filipe,

You'll have to use the RecordList in order to be able to execute ListClear. You can't do it on an Object.