Email client - UI actions which populate the "to" field

sdhar
Kilo Contributor

Is it possible to make two different UI actions which put different values in the TO field on the Case email client?

I know that there is one email client template per table, but I have attempted to work around this by creating a UI action which sets a field and then opens the email client, where the template is reading that field. However I'm having trouble combining the server-side code with client side and then opening the email client on top of that.

Thanks for your help.

1 ACCEPTED SOLUTION

Use the solution provided in below thread

https://community.servicenow.com/community?id=community_question&sys_id=660e6edadb7f1b04fece0b55ca96...


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

11 REPLIES 11

sachin_namjoshi
Kilo Patron
Kilo Patron

Following links should be helpful

https://community.servicenow.com/community?id=community_question&sys_id=6c17cbe5db1cdbc01dcaf3231f961984

https://community.servicenow.com/community?id=community_question&sys_id=36d6cba5db1cdbc01dcaf3231f961931

https://community.servicenow.com/community?id=community_question&sys_id=af9fcf25dbdcdbc01dcaf3231f9619b8

https://community.servicenow.com/community?id=community_question&sys_id=9af2c7a1dbd8dbc01dcaf3231f961960

 

REgards,

Sachin

SanjivMeher
Kilo Patron
Kilo Patron

why not just add that fieldname to the TO field in the email client?

 

find_real_file.png


Please mark this response as correct or helpful if it assisted you with your question.

Yeah - so I have done that but the problem arises that I want to have two different UI actions populating two different email addresses going into the TO field. With this solution you can only have one.

Ok. One more solution is to use Quick Messages, which will give you option to select multiple email templates.

See if thats helpful as well.

 

The other solution I can think of is, create a custom field which would store the recipients.

In the email client set that field as TO.

on click of UI action 1, it should set that custom field to your desired recipients list 1 and then open the email client. 

 

on click of UI action 2, it should set that custom field to your desired recipients list 2 and then open the email client

 


Please mark this response as correct or helpful if it assisted you with your question.