Workflow

By default, HTML Dialogs are created with a proceed button that resumes the workflow. In addition, a cancel link is created.

Cancel HTML Dialog

The default cancel link resets the current task and redirects to the application home or to the task list page if the task is persistent. You can also define the target redirect page. Have a look at the WorkflowBean for more information.