Defining a Pass-Thru Outbound Source Application
After you have provided the definition of the Template, the next step while creating a Template is to define the Source application. A Source application is an application from where data is received. After defining the Source application, you must choose a Trigger.
A Trigger is an event that initiates the data exchange. For example, in an FTP Source application, if you choose On File Created as a trigger, then data exchange will initiate when the new file is created to the source FTP.
To select and configure the Source application of the Template:
Select the Source application and click Next.
You can either define the next step by clearing Partner will define this step check box or allow your Partner to define these steps. Partner will define these steps while Creating a Transaction using this Template.
If you are defining this step then select the Source application account. You can either use an existing account or create a new one. Click to add a new account. For information on how to add an account, refer to Appendix C: Supported Applications.You can either define the next step by clearing Partner will define this step check box or allow your Partner to define these steps. Partner will define these steps while creating a Transaction using this Template.
If you are defining this step then select the trigger from the drop-down list and click Next.Click Next to add the configuration details.
You can either define this step by clearing Partner will define this step check box or allow your Partner to define these steps. Partner will define these steps while creating a Transaction using this Template.
The Source application account and configuration details screen differ depending on the chosen Source application.Expand Other Settings and provides the detail.
Select Trigger in Sequence check box to trigger the Transaction in sequential manner. If you do not select the Trigger in Sequence check box then the associated Transaction will trigger concurrently.
If you want to enable misfire handling for your file event then, select the Run Once option from the Action on Misfire Event drop-down list. If you do not wish to enable misfire handling for your file event then, select the Ignore Misfire option. For more details, refer to Handling Misfire Event.
The Run Once option will run only one collective instance of all the misfires for a particular event. Whereas the Ignore Misfire option will not run a misfired event.
The default value for Action on Misfire Event field is set to Run Once for all of the earlier events.The Connector drop-down lists the APIs to connect to the FTP Server. The options changes as per your selection of the protocols that you want to use to establish FTP connection.
Select Verbose check box, if you want to create a log file of your FTP activity. This check box is enabled only if you select Secure Inet Factory from the Connector drop-down list box.
Click Next to define the Routing Criteria. This is applicable only if you have selected context based routing as a Routing Type.
Select the routing criteria based on which different data files will be sent to the Partners.
On the Routing Criteria screen:
Select the file name from the Criteria drop-down list.
Select the type of condition from the Condition drop-down list.
Enter the parameter name in the Parameter field.
Select the Ignore Case check box if you want the search to be case insensitive.
For example, here in the example, cust_id is specified as a variable name. The Partner needs to specify the value for the variable name (cust_id) at the time of creating a Transaction. Suppose, the value specified is CUST147. When the Transaction will execute, it will fetch all the records containing CUST147 such as CUST14789.txt, CUST1478.xls, CUST147.docx.
If you have specified Equals in the Condition drop-down list then Transaction will fetch all the records containing CUST147 only such as CUST147.txt, CUST147.docx.
Click Next to encrypt data.
You can either define this step by clearing Partner will define this step check box or allow your Partner to define these steps. Partner will define these steps while creating a Transaction using this Template.
Select the Is Source File encrypted? check box if the source file is in the encrypted format. The below fields appears. Provide the details in the corresponding fields.Click Next to select the Destination application.
Next Step