none
Loop shape in BizTalk Orchestration RRS feed

  • Question

  • I have List of files in a folder, using BizTalk Orchestration how can I loop through each file and make a call to external API ? Please advise

    C:\PerlsComStage\UniqueIdDefault.pdf
    C:\PerlsComStage\UniqueIdGlobal.docx
    C:\PerlsComStage\UniqueIdWeb.txt
    C:\PerlsComStage\bin\UniqueIdPerlsCom1.png
    C:\PerlsComStage\bin\UniqueIdPerlsCom2.pdf

    RH

    Tuesday, November 12, 2019 9:53 PM

Answers

  • Hi,

    Depending on the requirements, I'd perhaps build this using the FILE Adapter, and not a Loop shape.

    You can fetch all files using the FILE Adapter, and then just trigger an Orchestration that makes the call to the external API. Then you don't need the Loop shape.

    Of course, all depending on your requirements.

    Br,

    Leo


    Did my post help? Please use "Mark as answer" or "Propose as answer". Thank you!

    Wednesday, November 13, 2019 8:53 AM

All replies

  • Hi,

    Depending on the requirements, I'd perhaps build this using the FILE Adapter, and not a Loop shape.

    You can fetch all files using the FILE Adapter, and then just trigger an Orchestration that makes the call to the external API. Then you don't need the Loop shape.

    Of course, all depending on your requirements.

    Br,

    Leo


    Did my post help? Please use "Mark as answer" or "Propose as answer". Thank you!

    Wednesday, November 13, 2019 8:53 AM
  • my requirement is after certain conditions are met, then only I have to pick the files one after another.

    It is not starting of Orch


    RH

    Thursday, November 14, 2019 2:31 PM