[MAGNOLIA-2201] Dispatch Workfloe to different groups based on the path of the activated page Created: 23/Jun/08  Updated: 24/Jun/08  Resolved: 24/Jun/08

Status: Closed
Project: Magnolia
Component/s: workflow
Affects Version/s: 3.5.8
Fix Version/s: None

Type: Bug Priority: Major
Reporter: sampath Assignee: Magnolia International
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

weblogic 9.2


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 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.



 Comments   
Comment by Magnolia International [ 24/Jun/08 ]

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

Comment by Magnolia International [ 24/Jun/08 ]

By the way : http://documentation.magnolia.info/support.html

Generated at Mon Feb 12 03:34:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.