7.6

Table Of Contents
Processing
The task renames the job file to the desired name, and changes the value of %f and %Fto reflect the new name.
Output
The input data file is output, with the new name.
Rename action task property is as follows:
General tab
l New file name: Enter the job file’s new name. In this variable property box, you may enter static characters, var-
iables, job information elements, data selections, or any combination of these.
On Error Tab
The On Error Tab is common to all tasks. Details can be found on Task Properties Dialog.
If storing the message or ID, if they are store in a jobinfo they will be available in any error handling process where errors are
being forwarded. In all cases, if your process continues after the error, the contents of the variables selected in this window
will be available for the rest of your process, or whenever they are overwritten.
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). 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.
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 oper-
ating system.
Output
Whatever file the Run Script action generates, metadata it modifies or creates, etc.
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 variable in your script.
Run Script action task properties are as follows:
The ScriptEditor menu options are as followed: