Share this link

    Home / Tradeshift Documentation / Tradeshift Partner Apps / Babelway / Chapter 4. Channels

    Extra processings on Transformation

    2075 0 Created on 2021-01-26 11:57:53; Last updated on 2022-07-01 13:01:37

    Automatically retry transformation on error

    This extra-processing allows to define criteria to automatically retry a transformation if an error occurs.

    The parameters are :

    Error message patterns 

    The patterns that will be tested against the error message.

    Retry strategy 

    Allows you to determine the time interval that needs to be used for the retries.

    • No retry
    • aggressive
    • Keep trying for 15 minutes
      • Will retries after 2, 4, 7, 10 and 15 minutes.
    • Keep trying for 1 hour 
      • Will retries after 2, 4, 8, 15, 30 and 60 minutes.
    • Keep trying for 3 hours 
      • Will do 6 retries in the first hour, then every hour.
    • Keep trying for 8 hours 
      • Will do 6 retries in the first hour, then every hour.
    • Keep trying for 1 day 
      • Will do 4 retries in the first hour, then every hour.
    • Keep trying for 3 days 
      • Will do 5 retries in the first 2 hours, then every 3 hours.
    • Keep trying for 5 days, once a day 
      • Will do One retry every day for 5 days at the same time as the first try.
    • Keep trying for 7 days 
      • Will do 5 retries in the first hour, then every 3 hours for 3 days, then every 6 hours.
    • Keep trying for 30 days 
      • Will do 5 retries in the first day, then once a day.

    Email Recipients 

    Address to which an email will be sent if a retry is scheduled. You can add a comma separated list of recipients or a metadata.

    Email Subject 

     Email message subject. You can use metadata. 

    Email body type 

     [text/plain , text/html] default is text/plain. 

    Email body 

     Email message Body. You can use metadata. 


    Automatically close errors

    This extra-processing allows to define criteria to automatically close errors.

    The field "Error message patterns" is a regex pattern and/or patterns that will be tested against the error message.

    If the error message matches at least one of the patterns, the status of the message will automatically be set to Error(closed), as shown below.

    Error_Message_Patterns.png

    Error Message Patterns

    Note: In Babelway, we're using the standard Java version of REGEX, and it's the same used all over the system.


    Error message patterns 

    The patterns that will be tested against the error message. If the error message matches at least one of the patterns, the status of the message   will automatically be set to Error(closed).

    

    0 people found this helpful.

    Related Articles