{lessontitle}
5.4 Configure Workflows
Workflow configuration files are named for their location and the process the module handles.
Example: CHRN6_Flow_Forecast is a workflow file for the site with a 5-character id of CHRN6 with a segment level activity of a flow forecast.
Workflow Contents
Workflow configuration files can contain the following elements:
- A moduleInstanceId is required only if the activity is in a module.
- workflowId is required if the activity is a workflow.
- fallbackActivity is an optional activity to run in the event the primary activity fails.
- An ensemble id is required if the activity is an ensemble.
- runIndependent is a flag indicating whether the activity is independent of other workflow activities.
- If set to “true”, and the item fails, the workflow will not fail.
- If the flag is “false” and the activity fails, the workflow will fail.
Basic Steps
- Create a workflow file in the Workflows directory.
- Add the workflow to the WorkflowDescriptors.xml file in the RegionConfigFiles directory.
- Inspect the results in the Workflow Navigator.
Use the following job sheet for instructions on how to add a workflow.
Job Sheet: Creating a New Workflow