SetOutputOption method: ProcessRequest class
Syntax
SetOutputOption(OutputType, OutputFormat, OutputDest [, JobName] [, PrcsItemLevel] [, JobSeqNo] [, ItemJobSeq])
Description
Use the SetOutputOption method to modify the output option of one or more job items in the main job.
Note:
This method can also be used for a single process.
The job sequence number and job level are optional. They are required only when the same process name is referenced more than once in a job and the user intends to modify the output option of only one item.
If the ProcessRequest object contains an invalid output type for a process, you won't be able to successfully schedule a process or job.
The values for OutputType, OutDestFormat, and OutputDestination are dependent upon each other as well as on other values.
Parameters
| Parameter | Description |
|---|---|
|
OutputType |
Specify the output type as a string. |
|
OutputFormat |
Specify the output format as a string. |
|
OutputDestination |
Specify the output destination as a string. |
|
JobName |
Specify the name of the job that this item belongs to as a string. |
|
PrcsItemLevel |
Specify the job item's process item level within the main job as a number. |
|
JobSeqNo |
Specify the job item's job sequence number within the process item level as a number. |
|
ItemJobSeq |
Specify the job item’s sequence within its parent job as a number |
Returns
None.
Example
&RQST.SetOutputOption("Email", "HTM", "", "MULTIJOB", 1, 2);