Automate

  • 1.  Run Log position

    Posted 08-30-2021 05:05

    Hi Community, just a question regarding the run log in winshuttle

    I would like to have an header in my runner script, just to make sure the user is running the right script. The yellow row in this example

    But after winshuttle was running it writes the log information in Cell A1 instead of Cell A2 how can i fix that if it's possible?

    Thanks for an idea

    Example


    ------------------------------
    Matthias Lautenschlaeger | PLM Assistant
    GSI Helmholtzzentrum für Schwerionenforschung GmbH | +49 6151 71xxxx
    ------------------------------


  • 2.  RE: Run Log position

    Posted 08-30-2021 08:51
    Hi Matthias,
    I don't see how the log can be written starting from the 2nd row either.
    but:
    - you chose NOT to write the Error Log header: -or you can embed the script in the excel, so that only that script can be run on that specific sheet, runners don't even have to chose the script to run anymore.
    Select 'publish' from within the RUN tab.

    enjoy!

    ------------------------------
    jan ketele | Sr engineer release mgt
    Xeikon Manufacturing NV | +32 34 43 1 875
    ------------------------------



  • 3.  RE: Run Log position

    Posted 08-30-2021 12:23
    Hey Jan, thx for an response. I got you, didn't knew it's also possible to turn it off in general. But the information is useful in case of some errors or wrong created items. And the embedded script makes sure u use the right embedded script, but in the suggested header u would see if u perhaps opened the wrong excel template. in our case the excel is named IE01 create box with class xxx and the other sheet starts also with the name IE01 create box with class yyy. So my idea was to set an header in the sheet to make visible "thats the right" Template coz the user can see it in the 1. row. Sorry for my bad english :)

    ------------------------------
    Matthias Lautenschlaeger | PLM Assistant
    GSI Helmholtzzentrum für Schwerionenforschung GmbH | +49 6151 712 094
    ------------------------------



  • 4.  RE: Run Log position

    Employee
    Posted 08-30-2021 11:13
    Hi Matthias

    Jan is correct - for Transaction/Direct scripts, it will always write to the 1st row, and you can control how much output, if any, goes into the log. 

    Query allows you to map to a row number, ex: A2.   It might be nice for Transaction to support a start row, as well.  If you agree, please open a support ticket to request an improvement.  Customers often drive what gets considered for future releases, with more popular requests receiving more consideration.

    Best Regards,
    Sigrid

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



  • 5.  RE: Run Log position

    Posted 08-30-2021 12:32
    Hi Sigrid, thx for your response. Just figured the output options, but i don't wanna miss that information. in my eyes it would be great to choose my own possiton for it. So i could make some nice template header information , to visualize on first sight, wich template the user has opend, in case u got some with nearly equal names as in our case.
    A feature like in Query to map my own field would be great. Perhaps i open a ticket for that.
    Thank you

    ------------------------------
    Matthias Lautenschlaeger | PLM Assistant
    GSI Helmholtzzentrum für Schwerionenforschung GmbH |
    ------------------------------