Waiting for a file to be created and continuing the iteration loop after a message is triggered
Based on Waiting for a file to be created and stopping the iteration loop after a
message is triggered, this scenario describes a Job that triggers a message on the console when a text file
is created in the directory being scanned, without ending the scanning process immediately.
The Job continues scanning the directory until the number of iterations reaches the defined
maximum value.