Automate

 View Only
  • 1.  12.1 Script Chaining question.

    Posted 06-17-2020 06:13
    Hi,

    I'm creating a script chain in 12.1 with 3 scripts.  I was wondering of there is any option to NOT run​ a row for the 2nd or 3rd scripts if that row fails in the first script?

    Thanks in advance.

    Regards

    Mark

    ------------------------------
    Mark Tiller | Delivery Enhancement Developer
    Transport for London (TfL) | 0203 054 4196
    ------------------------------


  • 2.  RE: 12.1 Script Chaining question.

    Employee
    Posted 06-17-2020 18:30
    Hi Mark

    Usually I use an IF statement on the subsequent scripts, checking for a value or message.

    Example if creating materials, adding characteristics and creating a BOM, I'll use an IF checking for the generated material number,which you can download or pull from the SAP Log message.  If blank, then I skip it.  I put the IF around the entire script - minus the LOG messages on top.

    Hope that helps,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 3.  RE: 12.1 Script Chaining question.

    Posted 06-18-2020 05:15
    Hi Sigrid,

    OK thanks, that had occurred to me, I was wondering if you had put something in to automate it. 

    Thanks for the quick response.

    Mark

    ------------------------------
    Mark Tiller | Delivery Enhancement Developer
    Transport for London (TfL) | 0203 054 4196
    ------------------------------