The Switch policy item in the policy editor toolbox, allows you to construct a switch like evaluation which could reach a number of different outcomes. Similar to the programming concept of switch statement, you can configure the Switch policy item to see if the value of a piece of selected event data matches a range of possible values. If the data is of a value listed in the Switch policy item, then the policy evaluation will continue through the output connector associated with that particular value.
In the worksheet example below, the Switch policy item (highlighted) will check to see which user is making the proxy request. If they are Fred, Bob, Dave, or Jim, then the policy will continue along the output of their respectively labeled paths. If the user is Fred or Bob, or Dave their request will be allowed to continue. If the user is Jim, their request will be rejected. Similarly if the user isn't any of these users then the policy evaluation will continue on the Default path which means their request will also be rejected.
The Switch policy item is extremely powerful, since unlike the Yes or No outputs of other decision type policy items, it can create multiple paths that the policy could follow depending on the data being examined. This also means that the output of one switch value can lead to the evaluation of another Switch item. This provides multiple branching of policy paths when policy evaluation is taking place.
©2012 Qbik New Zealand Limited
no comments yet...
You can use basic Full-Text Searches against the page title and body to find matching articles. Use the following search modifiers to refine your query:
You can create a new account or reset your password at forum.wingate.com.