Problem:

After reading recordsets from database the recordsets shall be deleted.

Solution:

For deleting records from a database, the workflow item DATABASE-IN can be used. The query command does not only work with SELECT, it also processes other SQL commands.

Example :

DELETE FROM dbo.IFTSTA_Positionen WHERE SenderTrackingID="insert::SenderTrackingID"