Tasks are run for each document that has been read. A number of tasks can be set to remove documents from the queue if they don’t fit certain criteria. Documents removed this way will not be processed by any following tasks. It should be noted that Calculated Fields are calculated before tasks, while Fields Mappings are handled after tasks.