Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1415

Quick fix for default workflow definition.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.5 RC1
    • 3.1 M1
    • workflow
    • None

      There is a problem with the default activation definition found in the default.xml file. The "revision round" sub is not working ok if a publisher is rejecting the activation. The content is sent back to the editor but the editor can't publish it again to the publisher!
      I saw that the inbox is not shown for an editor but I think that it is a feature that must be enable!
      I have found a quick way to fix this problem:
      Replacing :
      "
      <while test="${field:action} == reject"/>
      "
      with
      "
      <while>
      <equals field-value="action" other-value="reject" />
      </while>
      "
      and
      "
      <process-definition name="to-publisher">
      <participant ref="group-publisher"/>
      </process-definition>
      "
      with
      "
      <process-definition name="to-publisher">
      <sequence>
      <!-- reset the assignTo field so the editor not longer see the workflow items -->
      <unset field="assignTo"/>
      <participant ref="group-publisher" />
      </sequence>
      </process-definition>
      "

      Hope this helps!
      Thanks for your great work!

        Acceptance criteria

              vivi Vivian Steller
              pcbogdan Popa Bogdan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - 0.25h
                    0.25h
                    Remaining:
                    Remaining Estimate - 0.25h
                    0.25h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified