OSAdmin
Valued Contributor

Answer

  • We have a few BRApi related to Batch Loading but we don’t have a Batch
    Event Handler that we can code against.
  • Therefore, we are not able to pick and choose which files to load once they
    get into the Batch Harvest folder

Hypothetical Scenario…Potential suggestion to be tested:
1. 4 files go into the Batch Harvest folder – 3 for Workflow A and 1 for
Workflow B
2. Prior to Batch Execution, you copy the 1 file for Workflow B to a Temp folder
3. You then delete the file that was just copied to the Temp folder from the
Batch Harvest folder
4. The Batch Harvest folder executes the processing of the 3 files for Workflow A
5. After processing is complete for Workflow A, you copy the file for Workflow
B from the Temp folder back into the Batch Harvest folder
6. Delete the file from the Temp folder to reduce folder size

 

Hypothetical Scenario:
1. 4 files go into the Batch Harvest folder – 3 for Workflow A and 1 for
Workflow B
2. Prior to Batch Execution, you copy the 1 file for Workflow B to a Temp folder
3. You then delete the file that was just copied to the Temp folder from the
Batch Harvest folder
4. The Batch Harvest folder executes the processing of the 3 files for Workflow
A
5. After processing is complete for Workflow A, you copy the file for Workflow
B from the Temp folder back into the Batch Harvest folder
6. Delete the file from the Temp folder to reduce folder size

Considerations:
• When do I actually need to have the Batch Harvest folder process the file for
Workflow B?
• What is the indicator that the file for Workflow B can finally be executed? Is it
based on a process or timing?
• Will you need a very specific naming convention for the files that need to be
copied?

 

Source:  Office Hours 2019-07-11

Version history
Last update:
‎09-14-2023 08:03 AM
Updated by:
Contributors