Creating an Inbound Pass-Thru Transaction

A Transaction is created by using a Template. Therefore, before creating a Transaction, ensure that you have created a Template.

To create an Inbound Transaction:

  1. Provide the name and description of the Transaction. The name and description of the Transaction are generated automatically based on the selected Template. You can edit the Transaction name and description that can be up to 48 and 300 characters long.



  2. Click Continue.

  3. Select the partner for whom you are creating this Transaction. All the Partners of the Network(s) to which this Template belongs will be populated in the field. 


  4. Click Next to go to Transaction Settings step.

  5. On the Transaction Settings screen, do the followings:

    1. Enter the details as described in the following table.

      Field NameDescription

      Contact User

      Email id(s) listed here will receive a notification email whenever the Transaction is executed successfully or if there is an error during execution. Multiple email ids are separated by comma.

      If Adeptia Connect is running on multiple environments and you want to receive environment name in the emails, then you need to specify the environment name in the relevant property (Account > Settings > Server Nodes Settings > Systems > Personalization).

      When to notify the contact user thru email?

      Always: Send an email whenever a Transaction executes.

      On Error: Send an email if an error occurred during the execution of the Transaction.

      Do Not Notify: Select this option if you do not want to receive an email notification for Transaction execution.

      Email Notification FormatThis field is visible only when you have selected Always or On Error option to send the notification to the user.

      Select the email notification format that you want to use for notification emails sent to the user for successful and failed transaction.

      Default
      : If you select Default, the system will use the default email notification format.
      Customized Notification Format
      : If you select this option, a Custom Error Notification Format field appears. In this field, you can select an existing custom email notification format or create a new one, and use it for email notifications.
    2. Expand Advanced Settings to set the Logging Level, Repository File Retention, and Activity Logging Retention. The available options for the fields are as follows:

      • Logging Level- INFO, DEBUG, and ERROR

      • Repository File Retention- DONT DELETE, DELETE, DELETE ON SUCCESS, and DELETE ON SUCCESS EXCEPT SOURCE DATA

      • Activity Logging Retention- DONT DELETE, DELETE ON SUCCESS, and NO LOGGING
        To learn more about these options, refer to this page.


      The three fields (Logging Level, Repository File Retention, and Activity Logging Retention) appear on this screen only when
       the Template you are using is created by setting Routing Type to None. When you use a Template with Routing Type selected as either Content Based or Context Based, only the Repository File Retention field appears on the screen.

      If you hide the Transaction Settings page using Select the steps which you want to hide at the time of Transaction creation option from the Settings screen while creating a Template, by default the following values will be set for the fields in a Transaction:

      • When using a Template with Routing Type as None:
        1. Logging Level : ERROR
        2. Repository File Retention : DELETE ON SUCCESS EXCEPT SOURCE DATA
        3. Activities Logging Retention : DONT DELETE
         
      • When using a Template with Routing Type as Content or Context Based:
        1. Repository File Retention : DELETE ON SUCCESS EXCEPT SOURCE DATA
  6. Click Next to define the parameter values. This screen appears only if the Template you are using is created to get the values from the Partner or Company user.

  7. Provide the values in the fields.
  8. Click Next to define the Source application account. 

  9. Select the account in the Provide account information field. 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 Supported Applications

     

    Click Test to test the connection to your account.
    Field Name
    Description
    Process all the existing records/filesTo process all the existing files from the specified location.
    Trigger Type

    You can set trigger through POLLING and CRON EXPRESSION.

    POLLING: The time interval during which the Transaction triggers. By default, Transaction triggers after every 10 minutes. Select No polling option to trigger Transaction manually.


    CRON EXPRESSION: Define the specific time schedule for the Transaction to trigger. For more information on how to define Cron Expression, click here.



    • It is mandatory to define the first cron expression, if you have selected cron as a Trigger type. For example, if you have set a FTP Event to run every 5 minutes from Monday to Sunday, you can set the cron expression as "0 0/5 * ? * MON, TUE, WED, THU, FRI, SAT * ".
    • You may make use of the second cron expression to define another condition or address a condition supplementary to the first one. For example, if you have set a FTP Event to run every 5 minutes from Monday to Sunday, but do not want the same event to run from 12 AM to 12 PM on Sundays, the second cron expression can be defined as "0 0/5 13-23? * SUN * ". 
    • The firing schedule you define in the second cron expression must not overlap the one defined in the first cron expression.
    The Source application account and configuration details screen differ depending on the Source application chosen in the Template you are using.
  10. Click Next to define filter criteria. 
  11. This screen allows you to retrieve only specific records using AND/OR filters. For example, name=John and Id=12345 will retrieve only the record where name is 'John' and Id is '12345'
  12. Click Add Filter.

     


  13. Select the field name, condition, and value to filter the records. Depending upon the application used in a Template, you can filter the records using AND, OR, or both AND and OR filters. Click AND Filter to add more records.


     

    Only filterable custom fields will be displayed in the "Field Name" field while specifying filter criteria.
  14. Click Next to define the mapping. This screen appears only if the Template you are using is created for the Partner to define the mapping. 

  15. Click Save & Exit to save the Transaction.

    This creates an Inbound Transaction.

    /wiki/spaces/AC372/pages/34056301

    Activating a Transaction