Fixed the sample app with a working workflow.