Code samples for Visual Workflow