Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

In a typical scenario of a data transaction, the data is transferred from source to targetdestination. However, in some cases, a Company or Partner may need to further process the data received at the target locationdestination. 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 instead of a Process Flow. You must use Post Process app in the target location to destination to facilitate the creation of post processing Template/Transaction. 

You can create a Post Process Template either

Anchor
Process_Flow
Process_Flow
Creating a Post Process Template Using a Process Flow 

Prerequisites

For using a Process Flow in a Post Process Template, ensure that you have:

  • Created a Process Flow in 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 Process Flow or Transaction).
  • Published Process Flow in Adeptia Connect.

To create a Template:  

  1. 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.
  2. Select either File or App & Message from the Template Select Template Type drop-down list.
  3. Select Inbound in the Select direction drop-down list. 
  4. Select the application from the list while defining the Source application, for example, FTP.
  5. Define the source data format for a Template.
  6. Select the event to be triggered.
  7. Select the source layout and format of a Template.
  8. Select Post Process app while defining the Target Destination application.
    Image Removed
    Image Added

  9. Select Process Flow from the Select Post Process Type drop-down list.
  10. Select the process flow from the Select Process Flow drop-down list. Only published process flow will be populated in the drop-down list.
  11. 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. 
    Image Removed
    Image Added

  12. Define the target data format and layout.
  13. Define the mapping between the fields.
  14. Click Save and Exit to save the Template.

Anchor
Transaction
Transaction
Creating a Post Process Template Using a Transaction 

To create a Template:

  1. 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.
    1. Click Configure > Templates > Create Template.
    2. Select either File or App from the Template & Message from the Select Template Type drop-down list.
    3. Select Inbound in the Select direction drop-down list. 
    4. Select Pre Process app while defining the Source application.
      Image Removed
      Image Added

    5. Select the source data format for a Template.
    6. Select the source layout and format of a Template.
    7. Select the Target Destination application, for example, FTP.
    8. Define the action to be taken at the destination.
    9. Define the target Destination application account and configuration details.
    10. Define the target layout and format of a Template.
    11. Click Save and Exit to save the Template.
  2. After creating a Template, create a Transaction using this Template.
  3. 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
      1. Click Configure > Templates > Create Template.
      2. Select either File or App from the Template Type drop-down list.
      3. Select Inbound in the Select direction drop-down list. 
      4. Select the Source application, for example, QuickBooks.
      5. Define the source data format for a Template.
      6. Select the event to be triggered.
      7. Select Post Process app while defining the Target Destination application.
        Image Removed
        Image Added

      8. Select Transaction from the Select Process Type drop-down list.
      9. Select the Pre Process Transaction from the Select Transaction drop-down list. Only Pre Process Transactions will appear in the drop-down list.
      10. 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. 
        Image Removed
        Image Added

      11. Define the target data format and layout.
      12. Define the mapping between the fields.
      13. Click Save and exit to save the Template.