KBA-01032: What is the purpose of the RoutOfWork tag in TaskConfig.xml?

Question:

What is the purpose of the <RoutOfWork> tag in the sfATC TaskConfig.xml file?

Answer:

The purpose of the <RoutOfWork> tag is to regulate the frequency of attempts when there is no work.
For example, in the excerpt below: sfATC’s Task MODI-OCR task is set to repeat every 5 minutes – but the <RoutOfWork> tag allows sfATC to slow down and check for files every 15 minutes when it detects that there is no work. This allows sfATC to conserve efforts when the work flow is slow, but keep up at a regular pace with work is flowing.

<Task>
<TaskName>MODI-OCR</TaskName>
<TypeName>Spitfire.ATCDataTasks.MODIOcr</TypeName>
<AsmPath>Spitfire.ATCDataTasks.DLL</AsmPath>
<From>500</From>
<Thru>1300</Thru>
 <RFreq>5</RFreq>
<RoutOfWork>15</RoutOfWork>

<Active>true</Active>
<AutoRepeat>true</AutoRepeat>
<Priority>2</Priority>


KBA-01032; Last updated: November 16, 2016 at 9:19 am;