Setting Subject in Mail Script for Email Client Template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 10:43 PM - edited 10-21-2022 01:34 AM
Can we set a subject in Mail Script for Email Client Template (sys_email_client_template) . Tried below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 12:26 AM
Hi,
Please use below .
email.subject ='subject line here ';
Hope this will help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 12:33 AM - edited 10-21-2022 12:33 AM
Hi,
No, you can't set the subject based on mail script in email client template, only by doing some crazy workarounds, which I would not recommend. You don't have access to the email object in email client templates.
But you can set values based on existing fields so you know.. ${number} etc. directly in the subject line.
Best regards,
Sebastian Laursen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 12:40 AM
You are right, it's my mistake , i just seen his 2nd screen shot and replied, thanks for correcting me, really appreciate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 12:50 AM - edited 10-21-2022 12:50 AM
I have to conditionally populate the subject.
like if Assignment Group = X , Add ABC in subject
Should I create multiple email Client templates based on number of possible Templates.