Hi,
I got a problem which is not clear to me how to solve.
There are 2 interfaces.
a) IDOC to XML
b) pdf to zip
Interface a) contains a doc number that determines the file name of the pdf to pick in the second interface.
Interface a) is simple and clear
Interface b) requires to pick the right file and bring it together with the xml file because both need to be put into the same zip file.
First question is: How to get the doc number into a function that determines the right pdf file.
Seems this would be the process logic:
- ccBPM starting with an IDOC, getting the doc number via dynamic config
- use the doc number to generate the correct pdf file name.
=> and now:
- hand over the file name to the sender file adapter to pick the right file (this would be the tricky part. No idea how to do that)
- generate the xml output file from the IDOC
- use file receiver adapter with zip module to put both files into the same zip
Probably there will be more issues on the way but I would start with the first one.
Any ideas how to pick the right pdf file?
Best regards
Dirk