Automate

 View Only
  • 1.  Directing Scheduled Script to a "Target" file

    Posted 10-13-2025 05:02

    Hi all,

    An example situation.

    I have a script which is scheduled to run everyday.

    The Data file mapped to the script lets say is called MM02_UPDATE_SOME_DATA

    Each day a user creates an update file and because we need an audit trail the file has a date stamp in the name.

    MM02_UPDATE_SOME_DATA_YYYYMMDD

    Is there a way to direct the scheduled script to the MM02_UPDATE_SOME_DATA_YYYYMMDD file each day ? Without having to manually touch and rename the file to 

    "MM02_UPDATE_SOME_DATA" ?

    Thanks



    ------------------------------
    Russel Hunter
    mr
    TTI EMEA Ltd
    Buckinghamshire
    ------------------------------


  • 2.  RE: Directing Scheduled Script to a "Target" file

    Employee
    Posted 10-14-2025 18:09

    Hi Russel

    With just Studio, you can use settings in the scheduler to append things like date, date and time or user name to the file name.  Please see this recent post with the tip from my colleague

    https://community.precisely.com/discussion/scheduled-scripts-directed-to-different-data-files-dynamically?ReturnUrl=%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d4418e63a-9f6f-4468-b3f1-0186605ed001

    Best Regards,

    Sigrid



    ------------------------------
    Sigrid Kok
    *Precisely Software Inc.
    ------------------------------