You can create a Template using Pre Process application at Source and Post Process application at Target.
Pre Process is the processed data, Transaction you created using Pre Process application at Source.
Post Process is the further processing of data, received from the Target application. The data received from the Target application will become a source for Post Process application.
A Transaction is executed by processing files specified in the Source and Target application. You can further process target application data using Developer's Studio Process Flow (running at the background of Adeptia Connect) and Transactions created using Pre Process as a Source application. Thus, removing the need to provide account and configuration details. It will pick the account and configuration details used in the Process Flow and Transaction.
You cannot create a Template using Pre Process application at Source and Post Process application at Target. To use Pre Process application at Source, there must be a supported application at Target. To use Post Process at target there must be a supported application at Source. For example, to send data from FTP to Email, you need to create two Templates. First Template uses Pre Process application at Source and FTP application at Target, and the second Template uses Email application at Source and Post Process application at Target. In a typical scenario of a data transaction, the data is transferred from source to destination. However, in some cases, a Company or Partner may need to further process the data received at the destination. For further processing of this already processed data, you would use post processing Transaction.
Like any other Transaction, you need to create a Template first for post processing. A post processing Template will include a Process Flow published in Adeptia Connect. Based on your requirement type for the post processing of the received data, you can also use an already created transaction (for which Pre Process app is the source) instead of a Process Flow. You must use Post Process app in the destination to facilitate the creation of post processing Template/Transaction.
You can create a Post Process Template either
Anchor | ||||
---|---|---|---|---|
|
Prerequisites
Ensure For using a Process Flow in a Post Process Template, ensure that you havepublished :
...
- the Developer's Studio using File Source activity and set the value of the eventContextEnabled property to true in the Process Designer.
- Written the JavaScript in a
- Process Flow (required for using a Process Flow in a Template) and
- Custom plugin (required if the Process Flow is further calling a Transaction).
- Published Process Flow in Adeptia Connect.
To create a Template:
- Go to Configure > Templates > Create Template . The following are the high-level steps that you need to select while creating a Template. For detailed instructions, click /wiki/spaces/AC2/pages/655640 here.
- Select either File or App & Message from the Template Select Template Type drop-down list.
- Select Inbound in the Select direction drop-down list.
- Select the application from the list while defining the Source application, for example, FTP.
- Define the source data format for a Template.
- Select the event to be triggered.
- Select the source layout and format of a Template.
- Select Post Process app while defining the Target Destination application.
- Select Process Flow from the Select Post Process Type drop-down list.
- Select the process flow from the Select Process Flow drop-down list. Only published process flow will be populated in the drop-down list.
- Click Add Parameters to add parameters. Define the keys and their values. The specified values will be put in the context of the child flow.
- Define the target data format and layout.
- Define the mapping between the fields.
- Click Save and Exit to save the Template.
Anchor | ||||
---|---|---|---|---|
|
To create a Template:
- First, create a Template using Pre Process application as a Source application. The following are the high-level steps that you need to select while creating a Template. For detailed instructions, click /wiki/spaces/AC2/pages/655640here.
- Click Configure > Templates > Create Template.
- Select either File or App from the Template & Message from the Select Template Type drop-down list.
- Select Inbound in the Select direction drop-down list.
- Select Pre Process app while defining the Source application.
- Select the source data format for a Template.
- Select the source layout and format of a Template.
- Select the Target Destination application, for example, FTP.
- Define the action to be taken at the destination.
- Define the target Destination application account and configuration details.
- Define the target layout and format of a Template.
- Click Save and Exit to save the Template.
- After creating a Template, create a Transaction using this Template.
- Now, create a Template using Post Process application as a Target Destination application. The following are the high-level steps that you need to select while creating a Template. For detailed instructions, click /wiki/spaces/AC2/pages/655640here.
- Click Configure > Templates > Create Template.
- Select either File or App from the Template Type drop-down list.
- Select Inbound in the Select direction drop-down list.
- Select the Source application, for example, QuickBooks.
- Define the source data format for a Template.
- Select the event to be triggered.
- Select Post Process app while defining the Target Destination application.
- Select Transaction from the Select Process Type drop-down list.
- Select the Pre Process Transaction from the Select Transaction drop-down list. Only Pre Process Transactions will appear in the drop-down list.
- Click Add Parameters to add parameters. Define the keys and their values.
The specified values will be put in the context of the child flow. - Define the target data format and layout.
- Define the mapping between the fields.
- Click Save and exit to save the Template.