add template macro to run the example task on AF

No match.