Hi,
I have a Smartobject as follows:
File GroupID
hello.txt 1
Tester.txt 2
K2.docx 2
K9.docx 2
I am using a K2 Studio Workflow to send these files via email, but then i want to delete them afterwards as they just take up space in the tables, especially because they are datatype: file
So i did a Smartobjetc method - Delete on the Smartobject in the workflow (after sending email), but it only deletes the last record which matches the GroupID
in the above example, it deletes k9.docx, but leaves the other two documents with the same Group ID
How can i do a loop to delete all records that match that GroupID?
Thanks