Sample XML files for your reference
To help demonstrate various capabilities of the workflow XML schema, z/OSMF includes a number of sample XML files. It is recommended that you load these samples and observe their behavior in the Workflows task as you read this information.
The samples are supplied with z/OSMF in the /samples subdirectory of the product file system, which is, by default: /usr/lpp/zosmf/V2R1/samples.
Start
with the following samples, which show a basic workflow definition,
and demonstrate the use of language bundles and variables:
- workflow_sample_basic.xml
- Shows the most basic workflow. It contains one step with only the required elements.
- workflow_sample_translation.xml
- Shows a basic workflow that refers to a language bundle file. This workflow is used with workflow_sample_bundle0.txt.
- workflow_sample_variables.xml
- Shows the use of variables that require user input.
More advanced concepts are illustrated
in the following samples:
- workflow_sample_automation.xml
- Shows the use of automated steps in a workflow.
- workflow_sample_automation_property.txt
- Shows a sample workflow variable input file, for use with workflow_sample_automation.xml.
- workflow_sample_output.xml
- Shows an example of writing generated variables to an output file.
- workflow_sample_condition.xml
- Shows the use of conditional steps in a workflow.
- workflow_sample_feedback.xml
- Shows an example of a feedback form that can be used to gather input on a step from the step owner.
- workflow_sample_program_execution.xml
- Shows an example of running an inline executable program (a UNIX shell script) from within a step.
- workflow_sample_rexx_template0.txt
- Shows how to invoke a REXX exec from a workflow.
- workflow_sample_substeps.xml
- Shows the use of substeps and the use of step prerequisites to establish dependency chains.
- workflow_sample_wizards.xml
- Shows the use of instructions and wizards that use input variables.
- workflow_sample_file_template0.xml
- Shows the use of a file creation template.
- workflow_sample_fragment0.xml
- Contains a sample step definition.
- workflow_sample_fragment1.xml
- Contains a sample step definition.
- workflow_sample_include_external.xml
- Shows the use of a DTD to make references to external files. This sample also demonstrates other features of steps, and uses some HTML tags within a step description.