[ 
http://jira.magnolia.info/browse/MAGNOLIA-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gregory Joseph closed MAGNOLIA-2201.
------------------------------------

    Resolution: Not an issue

Please use the users lists or your dedicated support channel for support 
questions.

> Dispatch Workfloe to different groups based on the path of the activated page
> -----------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-2201
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2201
>             Project: Magnolia
>          Issue Type: Bug
>          Components: workflow
>    Affects Versions: 3.5.8
>         Environment: weblogic 9.2
>            Reporter: sampath
>            Assignee: Gregory Joseph
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to