Salesforce

How Do I Specify the Screen Refresh Rate in a Batch Task? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Specify the Screen Refresh Rate in a Batch Task? (Magic xpa 3.x)

When you are creating batch tasks, it is common to have a progress screen of some sort show to the user, so the user knows something is going on. This screen needs to refresh itself, so it can show records cycling or a progress bar moving. However, if the screen refreshes itself too often, this impacts the speed of the batch task. The ideal refresh rate often depends on the hardware that is running: newer, faster computers can handle more screen refreshes than older ones can.

So, you can set this feature at runtime using the Batch event interval environment setting. The Batch Event Interval is set in units of 1 millisecond, so a batch interval of 1000 means the screen will refresh once every second.

Specifying the batch event interval

  1. Go to Options->Environment->System->Batch event Interval. Enter the number of milliseconds you want to use. Or,

  2. Enter the desired number of milliseconds in the Magic.ini file, as the BatchPaintTime setting. Or,

  3. Use an INIPut to change the BatchPaintTime setting temporarily. You can do this if you want to change the paint time for one batch program, for instance, and change it back when the program is finished.

Reference
Attachment 
Attachment