Learning ServiceNow
上QQ阅读APP看书,第一时间看更新

Switch

An If condition activity is perfect in the event that there are only two exit states: true and false, or yes and no. If you want your workflow to follow a separate path based on a particular field's value, such as the impact of a given ticket, you might find it more advantageous or convenient to use a Switch. A Switch pivots off a field's potential values, and works especially well with drop-down fields that have a fixed number of potential values:

While you can have each exit condition transition to a different activity, it's perfectly alright to have two or more Switch exit conditions transition to just one activity:

When the transitions (the lines between the activities) intersect, it can sometimes be difficult to see where each line ends up. To see the full path one line takes, just click to select and highlight it!