Skip to Content
avatar image
Former Member

File Adapter

Hi

I have a scenario file rfc webservice rfc,My scenario is working fine,I have an issue like i will be getting different files at different times.If i get three files at a time my bpm is getting triggered at a time for all the files,i want to trigger my bpm one file first finish of the process & go for the next file..

Can any one please give me the solution how to configure in file adapter..

Thanks

sriram

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jul 05, 2006 at 08:31 PM

    Hi,

    this is not possible in standard as file adapter cannot work

    be started by BPM

    one way would be to create a java proxy that would

    pull the file into the XI when the first file would

    finish processing and the same to pull the third file

    Regards,

    michal

    Add comment
    10|10000 characters needed characters exceeded

    • hi,

      no as the file adapter will only pick one file

      then the proxy will pick the second one

      (sync proxy in a BPM) and then the third one

      also sync proxy in BPM

      I assume they have different names of course

      if the files are big you can also do the same

      with async java proxies which would be more

      efficient and I'd go for that from the beggining

      so no the new BPM instance will only be

      create when a new "first" file will be uploaded

      BTW

      I assue the number of files per "one process" is constant

      (3)

      Regards,

      michal

  • avatar image
    Former Member
    Jul 05, 2006 at 08:42 PM

    Hi Sriram,

    <i>i want to trigger my bpm one file first finish of the process</i>

    >>>>is this means, you need to complete the entire process before getting the second file again..

    There is no Standard way probably.

    Probably you can try this-

    /people/alexander.bundschuh/blog/2006/01/04/scheduling-messages-in-sap-xi

    Regards,

    Moorthy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 05, 2006 at 09:07 PM

    Thanks for the response

    I am not sure how to use java proxy in my scneario,can you pelase brief me how to work.

    Moorthy,My first file have to finish the process then it has to go for next file even the link which u have send dint help me out.

    Thanks

    sriram

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      If you have 3 different file names, then we can have 3 recieve steps in the BPM. So first file will start the process. Second and 3rd Recieve step will receive other 2 files...with 3 receiver determinations..

      i.e first file to BPM

      2nd fiel to BPM

      3rd file to BPM..

      Is this will solve the problem..

      Regards,

      moorthy

  • Jul 05, 2006 at 09:29 PM

    if the number of files that you receive

    is not constant (3)

    just can set the file adapter to work in EOIO mode

    and don't use the BPM

    just file to WS

    so the process will use one queue and even if

    all of your files will be picked up at once

    they will be processed one by one - as they will only use one queue

    Regards,

    michal

    Add comment
    10|10000 characters needed characters exceeded