Issue while using Move to Filesystem

Hi,

We have been moving documents to filesystem using the 'move to filesystem' smart service. But now we have to move files to a particular network folder from where Seeburger picks the file up and moves it to another location. The issue is when we are trying to move a larger file (over 5mb), the move to filesystem node is breaking with an error "The process cannot access the file because another process has locked a portion of the file".

We have identified that seeburger scans the folder for new documents every 20seconds, and for larger files, it is picking up and locking the file before the transfer has completed. 

Is there anyway to make appian lock the file until transfer is completed so as to prevent seeburger from locking it before appian is done moving the file ?

note: Ideally we do not want to increase the poll time of the folder above 30seconds.

  Discussion posts and replies are publicly visible

Parents
  • Hi,
    I am not sure of locking file while moving, explicitly. But you can try one alternative you can use when no other option available :)
    1. You can create and move a small empty file with the same name as that of your original file but with extension say .trg (trigger) when the original file is moved completely.
    2. Make your file poller to pick files only when its trigger file is present.
    Thanks,
Reply
  • Hi,
    I am not sure of locking file while moving, explicitly. But you can try one alternative you can use when no other option available :)
    1. You can create and move a small empty file with the same name as that of your original file but with extension say .trg (trigger) when the original file is moved completely.
    2. Make your file poller to pick files only when its trigger file is present.
    Thanks,
Children
No Data