Adding an example for using direct template actions
Fixing direct action used with dataflows