Salesforce

Batch Task Behavior (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Batch Task Behavior (Magic xpa 4.x)

Listed below are different characteristics that determine the Batch task behavior.

Batch Task with a Main Source

A Batch task loops through the Main Source records (within a Range criteria). The task repeats the Record Prefix and Suffix logic unit operations for each scanned record.

The task execution is terminated if one of the following conditions is met:

  • The End Task condition (in the Task Properties) evaluates to True (as explained on the previous page).

  • The engine reaches the last record in the range of records.

Batch Task with No Main Source

If no Main Source is defined, the Batch task is executed as long as the End Task condition is not met.

This type of task is called a Zero Main Source Batch task.

For example, if you create a program that cycles through Virtual variables, the record loop will be endless, until the End Task condition is met.

Batch Task with a Main Source and in Create Mode

When defining a Batch task with a Main Source and the Initial Mode property is set to Create mode, the task behaves like a Zero Main Source Batch task.

For example, if you create a program that only adds records to the data source, the record loop will be endless (no range can apply here), until the End Task condition is met.

A Batch form is not seen when called from a Rich Client task. This is because the Batch task runs on the Background engine on the Server side and, therefore, will not show the form.

Related Topics

Reference
Attachment 
Attachment