8.4
Table Of Contents
- Table of Contents
- Welcome to PlanetPress Workflow 8.4.1
- Basics
- Features
- The Nature of PlanetPress Workflow
- About Branches and Conditions
- Configuration Components
- Connect Resources
- About Data
- About Documents
- Debugging and Error Handling
- The Plug-in Bar
- About Printing
- About Processes and Subprocesses
- Using Scripts
- Special Workflow Types
- About Tasks
- Task Properties
- Working With Variables
- About Configurations
- About Related Programs and Services
- The Interface
- Copyright Information
- Legal Notices and Acknowledgements
Perl
$s = $Watch->ExpandString("%y-%m-%d");
$Watch->Log("Current Date is: " . $s,2);
Watch.Log
Creates messages that are added to PlanetPress Workflowwatch.log file. PlanetPress Workflow watch.log
file is located in ...\Program Files\PlanetPress Workflow 7\PlanetPress Watch\Log\ppw[log date].log.
View error messages in the Services Console while PlanetPress 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
Arguments
Message—A string representing the message that is logged in the log file. Note that the text of the message
must use the locale encoding of the system where the PlanetPress Workflow software will be running,
otherwise it will be unreadable.
Level—An integer between 1 and 4, specifying the severity level of the error message. Set message levels
as follows:
Level Description
1 The message is logged as an Error in the log file.
2 The message is logged as a Warning in the log file.