Module sequence error. Module ID={0}, Type={1} does not have a Target attribute, but the previous module (in the same workflow) ...

Module sequence error. Module [ID={0}, Type={1}] does not have a Target attribute, but the previous module (in the same workflow) has Target={2}. List all modules that have a Target attribute at the end of the workflow.