Creating and Packaging SubFlows As User-Defined Nodes
What is a SubFlow?
If there is any common sequence of actions are used by several message flows or applications or integration servers we can configure those actions in a sub-flow and include the sub-flow in your message flow so that we can use those sub-flows in our message flows.
What is a User-Defined Node?
User-Defined Nodes are the nodes that were created by our own and this is the main mechanism for extending the functions of IBM App Connect Enterprise.
What is the use of Creating and Packaging SubFlows As User-Defined Nodes?
The main purpose of sub-flow user-defined nodes is it decreases the complexity and maintain reusability meaning that the same functionality will be used for multiple message flows means simply can those nodes into our palette and drag and drop like the way we drag the predefined nodes.
The above figure describes how we can create sub-flows as user-defined nodes.
How we can implement subflows as user-defined nodes?
- Create a static library that contains a sub-flow that servers a specific purpose.
- Select the palette category in which you want to save the node.
- Then set the icon that is shown in the palette for the sub-flow user-defined node by selecting import from the file system or import from the workspace in the category icon section.
- Then after selecting the icon by select the import from workspace or import from the file system and then click finish.
Note: This feature is supported in IBM ACE 188.8.131.52 only.