Hi Krittanat,
You can easily achieve this by using ListAppend action by using it based on your condition.
Also their are multiple list operations, like ListClear, ListFilter etc., which can be used as per need.
I have attached sample oml.
Please check if it works for you.
Thanks,
LK