Flow language reference
Flow language basics
The flow language is a Web-based composition language made up of two main constructs: activities that define units of work and links that define dependencies between these activities.
The language comes with a predefined set of activities that provide basic functionality for:
- Receiving and replying to messages from clients (
<receive>and<reply>). - Making a call to an outside party (for example,
<GET>and<POST>) or sending an e-mail (<sendMail>), or calling local Java™ code (<action>). - An extensible set of custom activities.
- Simple control constructs:
-
<control> - The element on the target of the link that specifies a dependency between two activities.
-
<pick> - Provides a selection from a set of choices.
-
<while> - Provides the ability to loop as long as a condition is true.
-
<for-each> - Provides the ability to iterate over a list.
-
IBM® WebSphere® sMash Assemble flows are defined in an XML file. This reference provides a more terse, complete reference to all the syntax available for using the flow language. You can find this information in the following locations:
- Flow language behavior and syntax
- Provides information about the flow language behavior and syntax and Running processes and activities.
- Built-in activities
- Provides information about the activities that are built in to Assemble flow.
- Extension activities
- Provides information about extension activities, including the Feed operators and the XML operators that provide the ability to manipulate feeds.