HR Workspace: Email Client Template “To” field not populating from custom string field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2026 02:26 AM
Hi,
I have an Email Client Template on sn_hr_core_case.
In the To field i use:
javascript:current.u_external_email ? current.u_external_email : current.opened_for.emailu_external_email is a string field containing a valid email address.
The behavior I'm seeing is:
In Classic UI:
If
u_external_emailis filled -> To is populated correctly.If empty → falls back to
opened_for.email.
In HR Workspace:
If
u_external_emailis filled -> To field is empty.If empty → fallback to
opened_for.emailworks.
So Workspace seems to ignore the custom string field but accepts opened_for.email.
Is this a limitation in Workspace email client?
Can Workspace only resolve certain reference fields for recipients?
What is the supported way to populate the To field from a custom email field?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @cronnewall ,
Not sure, but maybe it's worth trying. I highly doubt that these "elder" way of doing scripts will accept new ECMA scripts like "TERNARY". Switch to old plain JavaScript and see if it will be working.
Please mark helpful if this rosolves your problem.
