Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

open email client with parameter from workspace

Michael Culhan1
Kilo Sage

In the core UI (classic), it is possible to open the email client and specify a value in the table i'm calling the email client from.  For example, if calling the email client from incident, I could add a value to the business_impact field with

/email_client.do?sysparm_table=incident&sysparm_sys_id=57af7aec73d423002728660c4cf6a71c&sysparm_target=incident&sys_target=incident&sys_uniqueValue=57af7aec73d423002728660c4cf6a71c&sys_row=0&sysparm_encoded_record=&sysparm_domain_restore=false&incident.business_impact=ack&sysparm_stack=no

Using this, I am able to control which email client template the email client opens.  I have used this in the past to open the email client with a specific table from a UI action.  I'd like to do something similar in workspace but the url structure is different.  Does anyone know how this can be achieved?  I've tried some url combinations from this article but nothing has worked for me yet.

1 ACCEPTED SOLUTION

Michael Culhan1
Kilo Sage

It looks like I can create a record in sys_email_draft and set whatever values I want for the email, then do action.openGlideRecord to open it up in the workspace email client

View solution in original post

1 REPLY 1

Michael Culhan1
Kilo Sage

It looks like I can create a record in sys_email_draft and set whatever values I want for the email, then do action.openGlideRecord to open it up in the workspace email client