To monitor a Type I subflow, do the following
procedure:
- Place a CandleMonitor node immediately after the Input Terminal in the flow, and place
another CandleMonitor node immediately
in front of the Output Terminal or other output of the flow (see Figure 1).
- Assign the same value (subFlow1 in Figure 1)
to the subFlowName attribute of all nodes in
the subflow.
Tip: For Type
I message flows, you can set the subFlowName attribute
to the name that was specified in the Message Brokers Toolkit for
the message flow that represents the subflow.
- Set the type attribute of the CandleMonitor node placed
in the input position to subFlowInput.
- Set the type attribute of the CandleMonitor node placed
in the output position to subFlowOutput.
Exception: If the output is a node such as
MQOutput and represents the end of the message flow for a message
going down a particular path, set the type attribute
of the CandleMonitor node placed
in the output position to output.
Remember: Subflows embedded in subflows, or nested
subflows, are supported. However, the subFlowName attribute
for any nested subflows must be different for different subflows.
You must be aware of the names assigned to subflow monitoring nodes
and not use them again.