As explained in the previous section, any visitor who enters a fork enters all branches. As soon as a visitor completes one branch in the fork, he or she progresses to the next element in the scenario (the first element after the fork). However, it is important to note that the visitor is not prevented from completing the other branches; the system keeps waiting for him or her to do so for as long as the scenario is active. Consider the example below:

This diagram described in surrounding text

A visitor logs in and enters both branches of the fork. She visits the page bargains.jhtml, and the system displays the specified content items in a slot on the page. Later in the same session the visitor visits the page whatsnew.jhtml, thus completing the second branch. The next element is triggered again, and the system displays the specified items in the slot.

If necessary you can change this behavior so that only one branch in any fork can succeed. If a visitor completes the elements in one branch, he is automatically removed from the other branches. To use this feature, do the following:

The system displays a blue circle at the beginning of each branch to show that only one branch can succeed.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices