Counts the number of times the task is executed and logs the total (info level) when the process ends. The input is
passed to the output, so the task can be placed anywhere in a branch.
- Service:
CleverAge\ProcessBundle\Task\Reporting\StatCounterTask - Code:
stat_counter(task: stat_counter)
any: only the number of executions matters.
any: the input, unchanged.
At finalization, the message Processed item count: <count> is logged, also when the process fails.
This task has no option.
- Count the lines written by a process
# Task configuration level
count:
task: stat_counter