Skip to main content

Log Contains

Log Contains

Searches the Flow Runner log for the specified text.

This element allows you to check whether a certain piece of text appears in the Flow Runner's log output during processing.
It’s useful for validating that a previous step ran as expected or detecting specific warnings, errors, or informational messages.


Text

The text to search for in the log.
This can be an exact match or a pattern-based match using String Operations.

You can use variables from earlier steps in your flow.

Examples

ScenarioText ExampleDescription
Detect a specific success messageProcessing completed successfullyMatches if that phrase is found in the log (case-insensitive).
Check for any warningWARN:Matches if any log line contains "WARN:" (case-insensitive).
Use a variable{File.Name}Searches for the current file name in the log (case-insensitive).
Match partial texterrorFinds any line containing “error” (case-insensitive).

Outputs

This element has two outputs based on whether the specified text is found in the log.

  1. Text found in log — The specified text was detected somewhere in the Flow Runner log.
    The flow continues through this output path.

  2. Text not found in log — The specified text was not detected.
    The flow continues through this alternate path.