How to know if a list is empty
Hello,
I'm working on a workflow where I have to purge lists. I'd like to know if there is a way to know if a list is empty (while still keeping its structure).
Best regards,
Hello,
I'm working on a workflow where I have to purge lists. I'd like to know if there is a way to know if a list is empty (while still keeping its structure).
Best regards,
You can use the built-in @COUNT function to count the number of records in the list. If the count is 0, then the list is empty.
Here are the steps to check if a list is empty:
If the count is greater than 0, then you can use a separate activity, such as a delete data activity or a purge data activity, to remove the records from the list.
By using this method, you can check if the list is empty while still keeping its structure intact.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.