2022.2

Table Of Contents
The Workflow process will wait for the file(s) to be unpacked or copied to the Connect resources folder,
so that the next plugin in line that uses an installed resource will have the latest, up-to-date version of
the file.
Files in the Connect resources folder are visible in Workflow's Configuration Components pane under
Connect Resources (see "Connect resources" on page38).
Syntax
Watch.InstallResource(path)
path
A string containing the resource path.
Examples
JavaScript
Watch.InstallResource("c:\\myfile.ol-package");
VBScript
Watch.InstallResource "c:\myfile.ol-package"
Python
Watch.InstallResource("c:\\myfile.ol-package");
Perl
$Watch->InstallResource("c:\\myfile.ol-package");
Watch.Log
Creates messages that are added to PReS Workflowwatch.log file. The PReS Workflow watch.log file
is located in the following folder:
%PROGRAMDATA%\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\Log
View error messages in the Services Console while PReS Workflow is in Run mode by choosing Tools |
Services | Service Console. In the Service Console, error messages appear with colors that correspond
to the message level.
Level Type Text Color in Service Console
1 Error Red
2 Warning Orange
3 Information Black
4 Debug Grey
Page 142