Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More

How to configure a delete flow in an automation

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Ionut_Dumitrascu

How to configure a delete flow in an automation

Last Update:

Sep 29, 2021 5:32:15 AM

Updated By:

PietMichielRappelet

Created date:

Mar 10, 2021 7:48:25 AM

The simplest way to create a delete flow in an automation is to use a list block together with a delete by id block. This will loop through the list and delete the items one by one. 

Ionut_Dumitrascu_1-1615379242252.png

However,  depending on the type of paging APIs are using, this flow can actually skip entire pages of data when deleting. To avoid this, you need to first load all the items in memory before actually deleting them.

The simplest way of doing this is to do a 'count' of the list first. To do this, Add an 'Output' block in which you can configure a formula to count the items in the list.

Ionut_Dumitrascu_2-1615379442918.png

This will load all the data from the list in memory. Now, you need to use a 'Loop' block together with a 'Delete by id' block, in order to delete every item from the list.

Ionut_Dumitrascu_3-1615379566910.png

Please note the CDP is a feature only available in the Qlik Application Automation OEM environments. The above information however applies to all cloud tools. 

 

The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.

Tags (1)
Labels (2)
Version history
Last update:
‎2021-09-29 05:32 AM
Updated by: