Flow basics
Learn what flows are and what you can do with them. When you submit a flow, the
flow gets submitted to the LSF Process Manager Server, which manages the dependencies in the flow. When a job is ready to be run, Process
Manager Server submits it to the LSF management host. Learn about the actions that you can take on flow
definitions: publish and unpublish flows, enable and disable event triggers,
submit and remove flows.
What are flows and what can I do with them?
Flows are work items that are connected together in a defined sequence. These work items can be jobs, other flows, or even applications.
What happens when I submit a flow?
When you submit a flow, the flow gets submitted to the LSF Process Manager Server. Process Manager Server manages the dependencies in the flow. When a job is ready to be run, Process Manager Server submits it to the LSF management host.
Key points you need to know about flows
You must have the Flow Designer role in IBM Spectrum LSF Application Center to create flow definitions. Use the Flow Designer from inside Application Center to design flows and commit flow definitions. To create submission templates that trigger flows, you must have the Application Center Administrator role.
Actions that you can take on flow definitions
You can take the following actions on flow definitions: publish, unpublish, disable or enable event triggers, submit and remove flows.
Create and modify a flow definition
The easiest way to create a new flow definition is to create a flow definition from one of the examples. After you edit a draft flow definition, you commit it to make it ready to be used by others. Publish the flow definition to share it with other users. When you edit a committed flow definition, you create a new flow definition version. You can import local flow definition files to the server from previous versions of Process Manager.
Defining completion attributes to specify what makes your flow succeed or fail
In some cases, your flow might include error recovery routines that only run under certain conditions. You can specify a completion attribute for a flow to defines what constitutes completion of the flow. For example, you can specify that only one of many paths must complete.
Setting up your flow for easier debugging
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.
Defining flow input variables: required variables to run your flow
When you create flows, you define flow input variables: the variables that are required to be entered for the flow to run. These flow input variables automatically become environment variables that can be used by work items in the flow.
Creating a submission template to enter flow input variables
You do not need to have a submission template to run a flow. You can directly submit a flow in IBM Spectrum LSF Application Center by selecting the Workload tab, selecting , selecting your flow definition, and clicking Submit . Sometimes, you might want to define a submission form for a flow definition so that users can enter input parameters without even seeing the flow chart.
Submitting your flow
To run a flow, you do not need to have a submission template. You can directly submit a flow from the flow definition. The flow definition must have been committed to the server as a new version.
Monitoring your flow
See summary information about a running flow, and information about individual jobs in a flow.