9.2.5. Ending the flow

We end the conversation with <end-conversation> or @End. For the sake of readability, we encourage you to use both.
<page name="win" view-id="/win.jsp">
  <redirect/>
  <end-conversation/>
</page>
Optionally, we can end a task, or specify a jBPM transition name. In this case, Seam signals the end of the current task in the overarching business process.
<page name="win" view-id="/win.jsp">
  <redirect/>
  <end-task transition="success"/>
</page>