Hi Tom,
The Email.Message.to is a collection (or array) and can contain several addresses if entered in the To field of an e-mail.
Easiest to check if it contains something if used in a Switch is probably with
FindFirst(Email.Message.to, "emailaddress") >= 0
FindFirst returns the index (0 or greater) if found and -1 if not found.
------------------------------
Jan Heinonen
Contact Center Specialist
GlobalConnect AB
------------------------------
Original Message:
Sent: 02-15-2024 10:53
From: Tom Mullen
Subject: Control flow based on "email.message.to".
I have a flow functioning to send Auto Replies to a sender of a specific mailbox using a Canned Response. I would like to modify the flow so I can use the 1 flow for several different mailboxes where a different canned response is sent based on the email.message.to attribute.
I've tried some different settings using the Decision and Switch functions, but I have not had much luck. I keep getting a warning that there is no implementation that accepts parameters of Email Address Collection and String.
Does anybody know of a way to accomplish what I'm attempting?
#Routing(ACD/IVR)
------------------------------
Tom Mullen
Boehringer Ingelheim GmbH
------------------------------