Topic Options
#56832 - 03/11/19 10:44 AM WorkFlow - SOURCE --> TARGET. Hold Files Question
Anwar Hussain Offline
OL Toddler

Registered: 12/02/17
Posts: 37
Loc: OH
Hi ObjectIF Lune Team,

We have a PlanetPress Workflow with SOURCE and TARGET folders. The TARGET is basically a shared Path/Folder on a remote computer.
While the SOURCE is transmitting files, if TARGET Computer is REBOOTED/SHUTDOWN, file(s) do not reach the TARGET. Is there a way to fix this ?

Can we hold the file transmission if TARGET is not ready ? Please help.

Thanks

Anwar Hussain


Edited by Anwar Hussain (03/11/19 10:44 AM)

Top
#56841 - 03/13/19 07:51 AM Re: WorkFlow - SOURCE --> TARGET. Hold Files Question [Re: Anwar Hussain]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1926
Loc: Objectif Lune, Montreal, Qc
Insert a Script Condition in your process, with the following code:
Code:
var oFSO = new ActiveXObject("Scripting.FileSystemObject");
Script.ReturnValue = oFSO.FolderExists("C:\\Tests");

Obviously, you'll need to change the path name.
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#56842 - 03/13/19 10:06 PM Re: WorkFlow - SOURCE --> TARGET. Hold Files Question [Re: Anwar Hussain]
Anwar Hussain Offline
OL Toddler

Registered: 12/02/17
Posts: 37
Loc: OH
Thank you

Top