🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Automator Visual Process

User: "Janet_21505"
Altair Community Member
Updated by Janet_21505
​Having a little trouble adding a "delete file" as the final step in this very simple visual process in Automator. 
  • Input file:    \\TFBDATAWATCH\Input\IB54.XLS.BANK.XYZ_SBA_PPP_Loans.xlsx
  • Rename to output file:    \\TFBDATAWATCH\DATAWATCH\OUTPUT\SBA PPP Loans &[mm]&[dd]&[yyyy]
  • Email:  SBA PPP Loans 04282020.xlsx
  • Delete SBA PPP Loans 04282020.xlsx
Visual Process


------------------------------
Janet Grimsley
VP, Business Intelligence
The Fauquier Bank
Warrenton VA
(540) 349-0215
------------------------------

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Steve_Caiels"
    Altair Employee
    Accepted Answer
    Updated by Steve_Caiels

    Hi Janet,

    You should be able to resolve this by using an input mask on 'renamed email file' that will only pick up the renamed files. SBA*.xlsx, for example.

    However, I believe there is also a potential timing issue. As you have it, both branches will run concurrently and the second part with the email/delete may try and run before the file has been renamed.  If you have an old copy of the renamed file that you are overwriting, the old version could be sent. I assume this is unlikely with a date stamp, but it might be confusing or hide an issue in the testing stage.

    You can force the second branch to wait by adding a workflow line.

     

    image

    With this additional line, the second branch will not run until the rename is complete.

    In this example, the following settings are used:

    Original File : *.xlsx

    Rename File : To SBA_ &[mm]&[dd]&[yyyy].xlsx

    New File : SBA*.xlsx

     

    Regards,

    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 04-28-2020 09:21 AM
    From: Janet Grimsley
    Subject: Automator Visual Process

    Having a little trouble adding a "delete file" as the final step in this very simple visual process in Automator.
    • Input file:    \\TFBDATAWATCH\Input\IB54.XLS.BANK.XYZ_SBA_PPP_Loans.xlsx
    • Rename to output file:    \\TFBDATAWATCH\DATAWATCH\OUTPUT\SBA PPP Loans &[mm]&[dd]&[yyyy]
    • Email:  SBA PPP Loans 04282020.xlsx
    • Delete SBA PPP Loans 04282020.xlsx
    Visual Process


    ------------------------------
    Janet Grimsley
    VP, Business Intelligence
    The Fauquier Bank
    Warrenton VA
    (540) 349-0215
    ------------------------------
    "