B2B Integration

Sterling B2B Integration

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  BPML Q: How to Resume After Handling Service Fault

    Posted Tue September 22, 2020 01:34 PM
    Edited by System Test Wed March 22, 2023 11:51 AM
    ***Updated***
    I figured it out.
    Some times you just have to try something.
    I added the OnFault Group and when it was finished, it continued the rest of the BP.

    --- Original Post ---
    We want to test to see if a file already exists on a FTPs server before we upload a new file.

    I've hit the limit of my understanding how BPML works. 
    My test BP can do a FTP LIST of the dataset name. 
    If it finds it, it is supposed to throw an error.
    If it doesn't find it, it's supposed to continue on. 
     
    My issue is the way it's working is if it doesn't find it it throws an error - which is the opposite of how I want it to work.
     
    I know how to catch the error with an OnFault Group - I just don't know how to continue on the normal BP processing.

    I'm open to any and all suggestions.


    ------------------------------
    Patrick Bartkus
    B2Bi 6.0.3 Administrator
    Primerica
    ------------------------------

    #SupplyChain
    #B2BIntegration


  • 2.  RE: BPML Q: How to Resume After Handling Service Fault

    Posted Tue September 22, 2020 09:48 PM
    Hi,

    If you don't want see error when file not found during ftp list, try setting parameter ListNamesErrorSetSuccess to YES on FTP list service.

    The other is, as you would like to push file only if file is not there you can use this onFault with FTP put. You don't need to explicitly compare file name or do any check.

    ------------------------------
    Rajasekhar Muthamsetty
    ------------------------------



  • 3.  RE: BPML Q: How to Resume After Handling Service Fault

    Posted Thu September 24, 2020 09:45 AM
    Thanks, Rajasekhar!

    I'll try that.

    ------------------------------
    Patrick Bartkus
    ------------------------------