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

Dispatch Workfloe to different groups based on the path of the activated page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Major
    • None
    • 3.5.8
    • workflow
    • None
    • weblogic 9.2

    Description

      We have a requirement where when a page is activated by the author, it should appear in the Inbox of a selected list of users and not to all the users in the system for activation.

      We looked at the following wiki page.

      http://wiki.magnolia.info/display/WIKI/How+to+dispatch+the+workflow+to+a+different+group+depending+on+the+path+of+the+activated+page

      And used the following syntax provided by the page to determine which page is currently activated.

      <if test="true == {$call:matches(' ${field:path}','website/advisers/.*')}">
      <set variable="/level2" value="advisers"/>
      </if>
      <if test="true == ${call:matches('${field:path}','/website/marketing/.*')}">
      <set variable="/level2" value="marketing"/>
      </if><if>
      <undefined variable-value="/level2"/>
      <set variable="/level2" value="default"/>
      </if>

      But the "if" condition does not recognize the current page and the value of "level2" variable is always set to "default" after the execution of the above code.

      Can you please provide the correct syntax to check which page is activated. Your help is greatly appreciated.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              gjoseph Magnolia International
              tcsampath sampath
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD