Wednesday, December 18, 2019

OIC - Scheduled Orchestration part 2 | download zip file and list all files and write them using FTP adapter

Here I will show the following:
  • Download a .zip file from a remote directory using FTP adapter
  • Listing all files using Stage action
  • Using a ForEach action and FTP adapter, each .txt file will be written to a remote directory.
Designer⇾Integrations⇾Create
Select Scheduled Orchestration style
Provide Name, description and package if any.

Drag and drop FTP connection

Setup the download zip file steps.



Drag and drop Stage action

Do the the list files Setups





Drag and drop For Each action

Do the setup for each stage file

Within the for each, drag and drop FTP connection
Do the write file setups




Edit and mapping


Add the tracking instances.


Activate

Inbound .zip file
Submit now



It has successfully polled the zip file and written all the files in the Outbound directory.

Thursday, December 12, 2019

OIC - using File Transfer Style

Here I will show you how to poll a file in binary mode and then write it in another directory using FTP protocol in File Transfer style.
Designer⇾Integrations⇾Create
Choose File Transfer style
Provide Integration name and package if any.
Canvas has opened.
Drag and drop FTP connection

Do the following setups for the poll file part




As we don't need the 1st mapping, so removed it.


Drag and drop FTP connection again
Do the following setup for FTP write part.




Map the poll to write file

Do the instance tracking



Activate


Submit now or we can also add schedule.


In Run section, we can see the 1st file processed successfully to write outbound directory
Input file
Output Directory


Featured Post

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...