In part 1 of this series we looked at the case where we didn't have an input hooked up to our control container in the logging container. This time we are going to look at what we can do with the input anchor connected.
How does the Input Anchor work?
- If the Input Anchor is disconnected
- All tools inside run as though they were in a regular container (or straight on the canvas)
- If the Input Anchor is connected
- If the input anchor receives 0 records – The tools in the Control Container DO NOT run
- If the input anchor receives >0 records – The tools in the Control Container run AFTER the last input record is received
Introducing the Container Error Check Macro
- If the incoming log messages contain an error all records get pushed out of F (Fail) output
- If incoming log messages have no errors all records get pushed out of S (Success) output