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.

...

  1. Clickto create a routing.



  2. On the Create Routing window, provide a unique routing name.



  3. Select whether you want to fetch and process data on the basis of Transaction Parameter or Partner Parameter. 

    OptionDescription
    Transaction ParameterThis option will bring and process the data based on the parameters defined for a Transaction.
    Partner Parameter

    This option will bring and process the data based on the parameters defined for a Partner.


    Depending on the option chosen in the previous step, the next steps would differ. 

    Transaction Parameters

    For example, there are three files (F1, F2, and F3) with headers ID, Age, and Name and values F1 (001, 23, Smith), F2 (002, 43, John), and F3 (003, 45, Michael). If you want to route data on the basis of Transaction parameter whose id is 002 and Name is John then you need to define the Destination Identifier as follows:

    1. In the Destination Identifier, type the XPath of the field on the basis of which you want to route the data. As in our example, to route the data on the basis of Id and Name then XPath will be /Root/Record/Id and /Roor/Record/Name. The XPath will differ based on the file type.
    2. Select Equals from the Condition.
    3. Select the parameter of the Transaction Partner that maps corresponding to the field.
    4. Click AND Filter to add another identifier in a similar way.

      Info
      You can also use OR Filter to add another identifier.

      AND filter combines two or more filters and returns true only if all of its enclosed filters returns true.

      OR filter combines two or more filters and returns true if any of its enclosed filters returns true.

    Partner Parameters
    For example, there are three text files at Source (F1, F2, and F3) with headers ID and Name and values F1 (001, Smith), F2 (002, John), and F3 (003, Michael). At Destination, you have three files (F4, F5, and F6) with headers Age and Designation and values F4 (23, Developer), F5 (35, Manager), and F6 (51, Team Lead). If you want to send data whose Id is 002 and Name is John to the Partner whose Age is 35 with Manager as Designation then you need to define these fields in the Source Identifier and Destination Identifier as follows:

    1. In the Source Identifier, type the XPath of the field on the basis of which you want to fetch the data from the file. As in our example, to fetch the data on the basis of Id and Name then XPath will be /Root/Record/ID and Root/Record/Name. The XPath will differ based on the file type.

    2. Select Equals from the Condition.
    3. Select the parameter of the Source Partner that maps corresponding to the field.
    4. Click AND Filter to add another identifier in a similar way.      



      Info
      You can also use OR Filter to add another identifier.

      AND filter combines two or more filters and returns true only if all of its enclosed filters returns true.

      OR filter combines two or more filters and returns true if any of its enclosed filters returns true.

    5. In the Destination Identifier, type the XPath of the field on the basis of which you want to send the data. As in our example, to send the data to the Partner on the basis of Age and Designation then XPath will be /Root/Record/Age and Root/Record/Designation. The XPath will differ based on the file type.
    6. Select Equals from the Condition.
    7. Select the parameter of the Destination Partner that maps corresponding to the field.
    8. Click AND Filter to add another identifier in a similar way.    

       

      Info
      You can also use OR Filter to add another identifier.

      AND filter combines two or more filters and returns true only if all of its enclosed filters returns true.

      OR filter combines two or more filters and returns true if any of its enclosed filters returns true.

  4. Click Save.

 

Next Step

Defining a Custom VAN Partner to Partner Exchange Mapping