8.5
Table Of Contents
- Table of Contents
- Welcome to PlanetPress Workflow 8.5
- System Requirements
- 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
- Variable Properties
- Working With Variables
- About Configurations
- About Related Programs and Services
- The Interface
- Copyright Information
- Legal Notices and Acknowledgements
Comments Tab
The Comments tab is common to all tasks. It contains a single text area (Task comments)that lets you
write comments about the task. These comments are saved when the dialog is closed with the OKbutton,
and are displayed in the Task Comments Pane.
Run Script
Run Script tasks are used to run scripts that typically perform some kind of processing on the job file
received by the task. Scripts are often simpler to write than programs added with the External Program
action (see "External Program" on page286). However, they can be slower to execute.
The Run Script action task can be used either as an action or a condition. When dragging and dropping a
Run Script action task on a given process, you select whether to use this task as an action or a condition
from a contextual menu.
For more information on scripts, what languages are supported and how to write scripts and conditions,
please see the related chapter, "Using Scripts" on page81.
Input
Any data file, in any format.
Processing
The script is executed. The script can modify anything such as the data file, job infos, metadata, or even
other files on the operating system.
Output
Whatever file the Run Script action generates, metadata it modifies or creates, etc.
Technical
Note about conditions:When using Run Script as a condition, the output of the task can be within the
branch or on the main trunk. To control the output, use the "Script.ReturnValue" on page108 variable
in your script.