Step 3 – Drag a Business Rule Event to the diagram
The operation is Switch Activity. The Assign Field is the TERRITORY global
variable and the Assign Type is String.
For the switch field, we use
the expression =PRIMARY_ADDRESS_STATE.ToUpper(). The leading equals character means that it is
a C# expression and not just a field reference.
The properties added need to include all 50 states, with the
appropriate region as the value.
|