Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-391

<end-conversation /> ends task

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.0.BETA2
    • Fix Version/s: 1.1.0.CR1
    • Component/s: BPM
    • Labels:
      None
    • Environment:

      CVS @ 13:50 -0000 2006/11/06

      Description

      The reference manual says 'Optionally, we can specify a transition name. In this case, Seam will signal the end of the current task in the overarching business process.' (4.2.5)

      Whether or not you specify a transition on <end-conversation /> if a task instance is active then it will be ended.

      This is because in Page.java the execute method has

      if ( transition == null )
      {
      task.end();
      }
      else
      {
      task.end(transition);
      }

      How about adding endTask="true|false" (default true) to end-conversation and altering Page.java accordingly?

      This functionality would be useful if you want to 'cancel' out of a pageflow and returrn to the task at a later date.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gavin.king Gavin King
                Reporter:
                pmuir Pete Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: