Salesforce

How Do I Stop a Batch Task from Running Forever? (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Stop a Batch Task from Running Forever? (Magic xpa 4.x)

By default, a batch task will run forever.

To keep it from running forever, you need to do one of the following:

  • Select a main source in the data view. If a main source is selected, the task will cycle through each record in the main source.

  • Enter an end task condition in task properties. If you only want the task to cycle once, enter:

End task condition: Yes

Evaluate condition: After updating record

  • If you want the task to end based on some other criteria, zoom from the End task condition field and enter an expression. When the expression evaluates to true, the task will end.

See also

The Online and Rich Client Samples projects (program TS07 and RTS07)

Reference
Attachment 
Attachment