Captiva (Opentext) Standard Import - how to create separate batch for every document with a data file
Hey,
There is an option for maximum files per batch which allows you to define the number of files that will be imported per batch in the Standard Import module. This will work for normal scenarios but in case of a scenario where we need to import a file and the respective data file this will not help us.
By providing the maximum files per batch as 2 we may be importing 2 separate files and leave their respective data files to next cycle or the next batch hence that option is ruled out. Its again an issue with standard import which is a feature present in Multi directory watch module which is deprecated in 7.5 version.
The solution for this is to write a profile script where you can import one document in a cycle and make sure its respective data file is present in the list of files and ignore the other documents in the list and keeping them in the same source path. The next cycle will pick the remaining file again and create a new batch for every cycle.
That's just one solution and I know its not the optimal one but if anyone has a better solution please suggest.😀
There is an option for maximum files per batch which allows you to define the number of files that will be imported per batch in the Standard Import module. This will work for normal scenarios but in case of a scenario where we need to import a file and the respective data file this will not help us.
By providing the maximum files per batch as 2 we may be importing 2 separate files and leave their respective data files to next cycle or the next batch hence that option is ruled out. Its again an issue with standard import which is a feature present in Multi directory watch module which is deprecated in 7.5 version.
The solution for this is to write a profile script where you can import one document in a cycle and make sure its respective data file is present in the list of files and ignore the other documents in the list and keeping them in the same source path. The next cycle will pick the remaining file again and create a new batch for every cycle.
That's just one solution and I know its not the optimal one but if anyone has a better solution please suggest.😀
This sounds like a doable way. I just figured out that the events in the profile script don't Trigger. Has anyone managed to do this, and can one give a hint how the names for the classes need to be given. Seems the manual is not right.
ReplyDelete