Output and error file generation for work items in a flow
By default, output and error files are not generated for flows or individual work items.
To troubleshoot flows, however, it is useful to always generate output and error files for work items in the flow.
You can set output and error file generation in the Flow Attributes. The behavior to create output and error files is the same as using the LSF® bsub command options -o and -e.
- Jobs
- Local jobs
- Job arrays
- Static subflows
- Static flow arrays
- Dynamic subflows
- Dynamic flow arrays
Output and error file settings do not apply to job scripts, job array scripts, template jobs, or manual jobs.
Users can override output and error file settings that were defined in the flow in individual work items.
Default location of output and error files
By default, output and error files are generated in the working directory of the work item.
- Linux®: $HOME
- Windows: %HOMEDRIVE%%HOMEPATH%
You can define a default working directory for flows with the parameter JS_DEFAULT_FLOW_WORKING_DIR in js.conf. Users can override the default working directory in individual work items.
Override order for output and error file generation settings

The override order for Process Manager to determine output and error file generation, location, and naming is as follows (in order of highest precedence):
- Use output and error file settings defined at the job level, in the Job Definition.
- Use output and error file settings defined in the static subflow’s Flow Attributes.
- Use output and error file settings defined in the dynamic subflow’s Flow Attributes:
- If Use parent flow’s settings is selected, use settings in the parent flow’s Flow Attributes.
- If Use inserted flow’s settings is selected, use settings in the inserted target flow’s Flow Attributes.
- If Override parent flow’s settings and inserted flow’s settings is selected, use settings in the Dynamic subflow Flow Attributes.
- Use output and error file settings defined in the flow’s Flow Attributes.