Task flows diagram for creating task analysis

I am a graphic designer learning User experience design. I need some help on creating Task flows diagram for creating task analysis. Is there any resource where I can learn how to create task flow diagrams. Thanks in advance.