How to write an email script to exclude recipients on the basis of a field on the requested item?

Aditya Sinha
Tera Contributor

I have 2 notifications-one on request table [A] and one on request item table [B] which trigger when a catalog item Z is requested. The cat item has a field named company . If the value of the company is X,  then the emails should not go to the requested for. How can I achieve this using an email script or otherwise?

1 REPLY 1

Najmuddin Mohd
Mega Sage

Hi @Aditya Sinha ,
Instead of email script, I believe your are driving the catalog using Flow Designer. 
So, using Get Variables from Catalog will have all the values entered by the End user.

Now, check the Company is X, if not trigger an Email from the flow, Else leave it.

If this information helps you, Kindly mark it as Helpful and Accept the solution.

 

Regards,
Najmuddin.