Only If - Email

Hi

In a BOT I am using a template to be sent to various email recipients. The fields are:

[SendTo]

[CcTo]

Both are drop downs which work as they should very effectively. 

DaveWillett_0-1650451476780.png

DaveWillett_1-1650451502487.png

In the CC section, I need to add an email recipient using the 'Add' facility but I only want that email to be fired if [SendTo] contains a specific recipient and ignore any other recipient.

In summary.

If [Sendto] = "JoeBloggs@SomeEmail.com" then [CcTo] "Jack@AnotherEmail.com"

I'm not sure of the syntax and would like some help please.

TIA

 

 

Solved Solved
0 2 71
1 ACCEPTED SOLUTION

It is not clear if you wish this expression for only one particular [SendTo] or there will always be some combination.

If it is just for "JoeBloggs@SomeEmail.com"  meaning only one email you would like  another specific email in CC, you CC expression could be

IF([Sendto] = "JoeBloggs@SomeEmail.com" ,"Jack@AnotherEmail.com", [CcTo])

 

View solution in original post

2 REPLIES 2

It is not clear if you wish this expression for only one particular [SendTo] or there will always be some combination.

If it is just for "JoeBloggs@SomeEmail.com"  meaning only one email you would like  another specific email in CC, you CC expression could be

IF([Sendto] = "JoeBloggs@SomeEmail.com" ,"Jack@AnotherEmail.com", [CcTo])

 

Spot on @Suvrutt_Gurjar 

If [Sendto] = "JoeBloggs@SomeEmail.com" then use "Jack@AnotherEmail.com" as the [CcTo] else CC to whoever has been selected

 

Thank You 

Top Labels in this Space