Showing posts with label email. Show all posts
Showing posts with label email. Show all posts

Wednesday, May 3, 2017

Sending Emails with Generic Templates

One way to send emails via Peoplesoft is by using the Generic Templates component located at this path:

Main Menu -- PeopleTools -- Workflow -- Notifications -- Generic Templates

Then the setup code would be: 



You will need to use data mover scripts to migrate the template...
Export:
SET OUTPUT c:\temp\EMAIL_TEMPLATES.DAT;
SET LOG c:\temp\EMAIL_TEMPLATES_EXP.LOG;

EXPORT PS_WL_TEMPLATE_GEN WHERE WL_TEMPLATE_ID IN ('MyNewEmail');
EXPORT PS_WL_TEMPL_GEN_TK WHERE WL_TEMPLATE_ID IN ('MyNewEmail');

Import:
SET INPUT c:\temp\EMAIL_TEMPLATES.DAT;
SET LOG c:\temp\EMAIL_TEMPLATES_IMP.LOG;

DELETE FROM PS_WL_TEMPLATE_GEN WHERE WL_TEMPLATE_ID IN ('MyNewEmail');
DELETE FROM PS_WL_TEMPL_GEN_TK WHERE WL_TEMPLATE_ID IN ('MyNewEmail');

IMPORT *;