GetOrElse operator use for conditional mapping
Content
I have the following issue:
1. When a user creates a process via a web form they can select one of 3 countries: US, CA, FR. If they select CA or FR they are offered a "bilingual" checkbox.
2. Process starts and hits a exclusive decision gate that checks if bilingual is true: if true it goes to send activity that sends french/english emails, otherwise it simply sends in English.
However, at the bottom of all french / Canada emails we have a "please reply to xxxTI@domain.com" and for US "please reply to xxxLO@domain.com". So in other words if US is selected it's never bilingual, if CA is selected it may or may not be bilingual, and french may or may not be bilingual. The decision gate works fine to determine whether to send bilingual, but we have yet another decision gate simply to determine if we should put LO or TI at the bottom of "english" emails (because remember a English email can come from the selection of Canada