Batch Insert Step

Last Updated: 12/12/2018 Introduced in Version:

When an object is created in Decisions whether it is a Case Entity,  Database Structure, Defined Data Structure, Entity, Entity Extension, Flow Data Extension or Folder Extension a Batch Insert Step takes a list of Decisions objects and then saves that list in the Decisions database.

 

Example

Batch Insert Steps are located in the Steps Tab of the Decisions workspace. Start by navigating to, Integration> Entity Framework>Batch Insert Entities (Figure 1).

 

Figure 1

 

Batch Insert Entities (Figure 2)

Figure 2

 

Batch Insert Entities (Auto- queue)

The Batch Insert Step takes in data one at a time and then stores it in Decisions memory for a specified amount of time. After the time has passed the data that is stored in memory is then saved in the database (Figure 3).

 

Figure 3

 

Batch Insert Entities (save pending)

The Batch Insert Entities (saves pending) step allows the data being stored in memory to empty before the specified time if the ForEach step has completed filtering through the data and has not reached the specified end time. This step executes the process when all data has been filtered through. This step is used in conjunction with the Batch insert Auto-queue step (Figure 4).

Figure 4

 

Links

Processing Lists of Items using Branching ForEach Step

 

Additional Resources