Forum Discussion

ahouston's avatar
ahouston
New Contributor II
4 years ago

Asynchronous REST POST Functional Response

Hello all,
New user here. Could someone please provide an example of how to model handling of an asynchronous callback to a REST Post call? Do I define this within the pipeline from which the Post call is made or do I need to set up a dedicated response handler pipeline? Would this be done via triggered task or do I need to create an API? Any guidance/examples would be much appreciated!

Thanks,
Adam

1 Reply

  • bojanvelevski's avatar
    bojanvelevski
    Valued Contributor

    Single. But because directory browser will produce multiple documents, the file reader will be called as many times as there will be documents on input.

  • Supratim's avatar
    Supratim
    Contributor III

    @amubeen hi… if you want to use Multi File Reader , you can config like below. But make sure all of your file should adhere same format (same set of header) else record can be mismatched. You can use filename convention in wildcard set.