I am trying to create a Flows sample application. Here I am trying to create a flow inside a folder at the root of web application and the flow is defined programatically using the @FlowDefinition annotation .
This application doesn't have any other flows defined. When I deploy the application , JSF runtime doesn't recognize that the application has faces flow defined, and the app doesn't work
But this works when the application has another flow defined with the views declared in a directory inside webapp root directory and flow is defined using flow.xml file in the same folder as views.